Out-of-bounds Read in Ggml Llama.cpp
CVE-2026-43630
llama.cpp builds b4882 before b8487 contain an out-of-bounds read vulnerability in the recurrent memory state restore path that allows attackers with write access to the slot save directory to read memory past the end of the allocated cells array. Attackers can craft a malicious slot file with an oversized seq_id value to trigger an out-of-bounds read that leaks heap data including pointer values into server logs, defeating ASLR protections and facilitating further exploitation.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
EPSS exploit prediction
EPSS: 0.005 (42.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 42.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Ggml Llama.cpp
- Ggml-Org Llama.cpp — versions b5702, 0.17.1
Weakness classification (CWE)
References
- github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches (related, Patch, Third Party Advisory)
- github.com/ggml-org/llama.cpp (Product, product)
- github.com/ggml-org/llama.cpp/commit/f93c09e2673090b59802f2552848a1cac70598b0 (Patch, patch)
- www.vulncheck.com/advisories/llama-cpp-b5702-b7653-out-of-bounds-read-informati… (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2026-43630?
- CVE-2026-43630 is a medium-severity vulnerability in Ggml Llama.cpp, classified under Out-of-bounds Read. CVSS score: 6.5/10. Published 2026-08-06.
- How severe is CVE-2026-43630?
- Medium severity. CVSS v3 base score is 6.5 out of 10.