CVE-2026-43629
Last modified
CVE-2026-43629 is a critical-severity vulnerability rated 9.2/10 on the CVSS scale. llama.cpp builds b4882 through b9058 contain a heap buffer overflow vulnerability in the KV cache state restore path where the state_read_data() function computes write size without overflow checking, allowing attackers with write access to the slot_save_path directory to corrupt heap memory. Attackers can craft malicious state files where cell_count multiplication overflows or exceeds tensor buffer allocation to write attacker-controlled bytes past buffer boundaries, potentially resulting in heap metadata corruption, model weight corruption, or arbitrary code execution via function pointer overwrite.. EPSS estimates a 0.51% chance of exploitation in the next 30 days.
Description
llama.cpp builds b4882 through b9058 contain a heap buffer overflow vulnerability in the KV cache state restore path where the state_read_data() function computes write size without overflow checking, allowing attackers with write access to the slot_save_path directory to corrupt heap memory. Attackers can craft malicious state files where cell_count multiplication overflows or exceeds tensor buffer allocation to write attacker-controlled bytes past buffer boundaries, potentially resulting in heap metadata corruption, model weight corruption, or arbitrary code execution via function pointer overwrite.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ggml-org | llama.cpp | >= b4882, <= b9058; >= 0.16.1, <= 0.17.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-43629?
How severe is CVE-2026-43629?
How do I fix CVE-2026-43629?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-43622llama.cpp builds b1886 through b7445 contain a double free v…8.5
- CVE-2026-43623microtar through 0.1.0 contains a stack-based buffer overflo…8.8
- CVE-2026-43624F5-TTS through version 1.1.20 contains a path traversal vuln…8.8
- CVE-2026-43625CodexBar prior to 0.32.0 contains a session cookie leakage v…8.2
- CVE-2026-43627llama.cpp builds b1283 through b9058 contain an integer over…8.5
- CVE-2026-43628llama.cpp builds b3978 through b9058 contain an integer unde…8.5
- CVE-2026-4363GitLab has remediated an issue in GitLab EE affecting all ve…3.7
- CVE-2026-43630llama.cpp builds b5702 through b7653 contain an out-of-bound…6.5
- CVE-2026-43631llama.cpp builds b7492 through the latest b9060 contains a u…9.2
- CVE-2026-43632llama.cpp builds b7492 through the latest b9060 contains a u…9.2
- CVE-2026-43633HestiaCP versions 1.9.0 through 1.9.4 contain a deserializat…10
- CVE-2026-43634HestiaCP versions 1.2.0 through 1.9.4 contain an IP spoofing…8.7
Are you affected by CVE-2026-43629?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
