HighVulnerabilityLLM-specific
CVE-2026-43629: llama.cpp heap buffer overflow in KV cache state restore
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-43629
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.8%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
CVE-2026-43629 affects llama.cpp builds b4882 through b9058. In the KV cache state restore path, state_read_data() computes write size without overflow checking, so an attacker with write access to the slot_save_path directory can supply a crafted state file. A cell_count multiplication that overflows or exceeds the tensor buffer allocation lets attacker-controlled bytes be written past buffer boundaries, potentially corrupting heap metadata, model weights, or enabling arbitrary code execution via function pointer overwrite.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online