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.

Scoring

Severity
MEDIUM
CVSS base score
6.5
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS probability
0.45%
CWE
CWE-125, CWE-209, CWE-125, CWE-209
Published
2026-08-06
Last modified
2026-08-14

Affected products

Weakness type

Related vulnerabilities

Markdown version · Browse all CVEs