CVE Catalog

CVE-2026-43630

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.50%

42th percentile - higher than 42% of all known CVEs

Summary

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.

Risk Assessment

Leaking heap data and pointer values into logs may facilitate ASLR bypass and further attacks on the system.

Recommendation

Update llama.cpp to build b8487 or later and restrict write access to the slot save directory.

Other vulnerabilities in llama.cpp

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS