Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-39480

HIGH 8.4EPSS 23%

kdb: Fix buffer overflow during tab-complete

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < fb824a99e148ff272a53d71d84122728b5f00992; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < ddd2972d8e2dee3b33e8121669d55def59f0be8a; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < cfdc2fa4db57503bc6d3817240547c8ddc55fa96; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < f636a40834d22e5e3fc748f060211879c056cd33; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < 33d9c814652b971461d1e30bead6792851c209e7; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < 107e825cc448b7834b31e8b1b3cf0f57426d46d5; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < f694da720dcf795dc3eb97bf76d220213f76aaa7; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < e9730744bf3af04cda23799029342aa3cddbc454
  • Anyone running Linux 2.6.35

Vulnerability facts

Affected
Linux >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < fb824a99e148ff272a53d71d84122728b5f00992; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < ddd2972d8e2dee3b33e8121669d55def59f0be8a; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < cfdc2fa4db57503bc6d3817240547c8ddc55fa96; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < f636a40834d22e5e3fc748f060211879c056cd33; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < 33d9c814652b971461d1e30bead6792851c209e7; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < 107e825cc448b7834b31e8b1b3cf0f57426d46d5; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < f694da720dcf795dc3eb97bf76d220213f76aaa7; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < e9730744bf3af04cda23799029342aa3cddbc454; Linux 2.6.35
Fixed in
Linux 33d9c814652b971461d1e30bead6792851c209e7, Linux 107e825cc448b7834b31e8b1b3cf0f57426d46d5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.4 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.38% chance of exploitation in 30 days (percentile 23, 2026-11-26)
CWE
CWE-120, CWE-121
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: kdb: Fix buffer overflow during tab-complete Currently, when the user attempts symbol completion with the Tab key, kdb will use strncpy() to insert the completed symbol into the command buffer. Unfortunately it passes the size of the source buffer rather than the destination to strncpy() with predictably horrible results. Most obviously if the command buffer is already full but cp, the cursor position, is in the middle of the buffer, then we will write past the end of the supplied buffer. Fix this by replacing the dubious strncpy() calls with memmove()/memcpy() calls plus explicit boundary checks to make sure we have enough space before we start moving characters around.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < fb824a99e148ff272a53d71d84122728b5f00992; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < ddd2972d8e2dee3b33e8121669d55def59f0be8a; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < cfdc2fa4db57503bc6d3817240547c8ddc55fa96; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < f636a40834d22e5e3fc748f060211879c056cd33; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < 33d9c814652b971461d1e30bead6792851c209e7; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < 107e825cc448b7834b31e8b1b3cf0f57426d46d5; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < f694da720dcf795dc3eb97bf76d220213f76aaa7; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < e9730744bf3af04cda23799029342aa3cddbc454—cvelist
Linux2.6.35—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-39480. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-39480.md
Affected: Linux >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < fb824a99e148ff272a53d71d84122728b5f00992; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < ddd2972d8e2dee3b33e8121669d55def59f0be8a; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < cfdc2fa4db57503bc6d3817240547c8ddc55fa96; >= 5d5314d6795f3c1c0f41534…
Fixed in: Linux 33d9c814652b971461d1e30bead6792851c209e7, Linux 107e825cc448b7834b31e8b1b3cf0f57426d46d5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-39480 being exploited?

There is no confirmed exploitation: CVE-2024-39480 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-39480?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-39480?

Linux >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < fb824a99e148ff272a53d71d84122728b5f00992; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < ddd2972d8e2dee3b33e8121669d55def59f0be8a; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < cfdc2fa4db57503bc6d3817240547c8ddc55fa96; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < f636a40834d22e5e3fc748f060211879c056cd33; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < 33d9c814652b971461d1e30bead6792851c209e7; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < 107e825cc448b7834b31e8b1b3cf0f57426d46d5; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < f694da720dcf795dc3eb97bf76d220213f76aaa7; >= 5d5314d6795f3c1c0f415348ff8c51f7de042b77, < e9730744bf3af04cda23799029342aa3cddbc454; Linux 2.6.35.

Is there a fix for CVE-2024-39480?

Yes. Fixed in Linux 33d9c814652b971461d1e30bead6792851c209e7, Linux 107e825cc448b7834b31e8b1b3cf0f57426d46d5. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-39480?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors