# kdb: Fix buffer overflow during tab-complete

CVE record · `CVE-2024-39480`

- **Identifiers:** `CVE-2024-39480`
- **State:** Confirmed
- **Severity:** CVSS 8.4 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-121](https://cwe.mitre.org/data/definitions/121.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 5 Jul 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 5 Jul 2024, 06:55 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `5d5314d6795f3c1c0f415348ff8c51f7de042b77 to before fb824a99e148ff272a53d71d84122728b5f00992` (git)
  - affected: `5d5314d6795f3c1c0f415348ff8c51f7de042b77 to before ddd2972d8e2dee3b33e8121669d55def59f0be8a` (git)
  - affected: `5d5314d6795f3c1c0f415348ff8c51f7de042b77 to before cfdc2fa4db57503bc6d3817240547c8ddc55fa96` (git)
  - affected: `5d5314d6795f3c1c0f415348ff8c51f7de042b77 to before f636a40834d22e5e3fc748f060211879c056cd33` (git)
  - affected: `5d5314d6795f3c1c0f415348ff8c51f7de042b77 to before 33d9c814652b971461d1e30bead6792851c209e7` (git)
  - affected: `5d5314d6795f3c1c0f415348ff8c51f7de042b77 to before 107e825cc448b7834b31e8b1b3cf0f57426d46d5` (git)
  - affected: `5d5314d6795f3c1c0f415348ff8c51f7de042b77 to before f694da720dcf795dc3eb97bf76d220213f76aaa7` (git)
  - affected: `5d5314d6795f3c1c0f415348ff8c51f7de042b77 to before e9730744bf3af04cda23799029342aa3cddbc454` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.35`
  - unaffected: `before 2.6.35` (semver)
  - unaffected: `4.19.316 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.278 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.219 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.161 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.94 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.34 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.5 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 8.4 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0027, the 19th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 5 Jul 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-39480](https://www.cve.org/CVERecord?id=CVE-2024-39480)
- [NVD: CVE-2024-39480](https://nvd.nist.gov/vuln/detail/CVE-2024-39480)

### References from the CNA

- <https://git.kernel.org/stable/c/fb824a99e148ff272a53d71d84122728b5f00992>
- <https://git.kernel.org/stable/c/ddd2972d8e2dee3b33e8121669d55def59f0be8a>
- <https://git.kernel.org/stable/c/cfdc2fa4db57503bc6d3817240547c8ddc55fa96>
- <https://git.kernel.org/stable/c/f636a40834d22e5e3fc748f060211879c056cd33>
- <https://git.kernel.org/stable/c/33d9c814652b971461d1e30bead6792851c209e7>
- <https://git.kernel.org/stable/c/107e825cc448b7834b31e8b1b3cf0f57426d46d5>
- <https://git.kernel.org/stable/c/f694da720dcf795dc3eb97bf76d220213f76aaa7>
- <https://git.kernel.org/stable/c/e9730744bf3af04cda23799029342aa3cddbc454>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-39480>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-39480/>. Everything for agents: <https://agentprime.io/llms.txt>.
