CVE-2024-39480
CVE-2024-39480 — kdb: Fix buffer overflow during tab-complete
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.
Published Updated Sources: cvelistV5, Linux
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
8.4
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (2)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.4 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-121
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /memcpy().
References
8 on the record
- git.kernel.org/stable/c/fb824a99e148ff272a53d71d84122728b5f00992
reference
- git.kernel.org/stable/c/ddd2972d8e2dee3b33e8121669d55def59f0be8a
reference
- git.kernel.org/stable/c/cfdc2fa4db57503bc6d3817240547c8ddc55fa96
reference
- git.kernel.org/stable/c/f636a40834d22e5e3fc748f060211879c056cd33
reference
- git.kernel.org/stable/c/33d9c814652b971461d1e30bead6792851c209e7
reference
- git.kernel.org/stable/c/107e825cc448b7834b31e8b1b3cf0f57426d46d5
reference
- git.kernel.org/stable/c/f694da720dcf795dc3eb97bf76d220213f76aaa7
reference
- git.kernel.org/stable/c/e9730744bf3af04cda23799029342aa3cddbc454
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2013-6282 Linux Kernel Improper Input Validation VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2022-0185 Linux Kernel Heap-Based Buffer Overflow VulnerabilityCVSS 8.4 · CISA KEV
- CVE-2026-53362 Linux Kernel Unspecified VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.