Out-of-bounds Read in Ggml Llama.cpp

CVE-2026-43630

llama.cpp builds b5702 through b7653 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

EPSS: 0.005 (38.6th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.