CVE-2026-43629: Heap buffer overflow in llama.cpp KV cache state restore
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
Llama.cpp contains a heap buffer overflow vulnerability in the KV cache state restore path due to missing overflow checks. Attackers with write access to the save path can corrupt memory or achieve code execution.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- llama.cpp
- incident date
- 6 Aug 2026
- first reported
- 6 Aug 2026
- origin
- NVDVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2026-43629 · heap-buffer-overflow · llama.cpp
- record
- created 2026-10-18 06:33Z · updated 2026-10-18 06:33Z · json
Sources · 1
- 2026-08-06CVE-2026-43629: llama.cpp builds b4882 through b9058 contain a heap buffer overflow vulnerability in the KV cache state restore path where the…NVD · nvd.nist.gov/vuln/detail/CVE-2026-43629
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-09-01llama.cpp vulnerable to reachable assertion via gguf reader2 Disclosedon AIInfra vuln1 src
- 2026-09-01llama.cpp vulnerable to uncontrolled recursion and denial of service2 Disclosedon AIInfra vuln1 src
- 2026-09-01llama.cpp vulnerable to denial of service via negative top_n reranking value2 Disclosedon AIInfra vuln1 src
- 2026-08-24CVE-2026-78148: llama.cpp RPC Server Null Pointer Dereference Vulnerability2 Disclosedon AIInfra vuln1 src
- 2026-08-23CVE-2026-78147: llama.cpp RPC server vulnerable to insecure deserialization2 Disclosedon AIInfra vulnSupply chain1 src
- 2026-08-06CVE-2026-43622: llama.cpp double free vulnerability in LLaMA-Android2 Disclosedon AIInfra vuln1 src