llama.cppPublished 6 Aug 2026NVD status: Modified

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…

Componentllama.cpp
Severitymedium (CVSS 6.5)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Published (NVD)2026-08-06
Last modified2026-10-22
Affected versions
>= b4882, < b8487
from the CVE Program record written by the CNA that assigned the CVE
Fixed inb8487
WeaknessCWE-125CWE-209
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis reads >= b5702, <= b7653. The ranges above come from the CVE record written by VulnCheck, the CNA that assigned the CVE. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).

NVD 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.

What to do

Sources