6.5Medium
CVE-2026-43630llama.cpp b4882-b8487 Out-of-Bounds Read Information Disclosure
Description
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://github.com/ggml-org/llama.cpp productProduct
- https://github.com/ggml-org/llama.cpp/commit/f93c09e2673090b59802f2552848a1cac70598b0 patchPatch
- https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches PatchThird Party Advisory
- https://www.vulncheck.com/advisories/llama-cpp-b5702-b7653-out-of-bounds-read-information-disclosure PatchThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*≥ b5702 ≤ b7653