CVE-2026-43630

llama.cpp b4882-b8487 Out-of-Bounds Read Information Disclosure

State
Published
Severity
6.3 Medium
Published
Aug 6, 2026
Updated
Oct 22, 2026
Reserved
May 1, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:NVulnCheck
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LVulnCheck

Weaknesses

  • CWE-125 Out-of-bounds Read
  • CWE-209 Generation of Error Message Containing Sensitive Information

Affected Products

ProductVersions
llama.cppggml-org
  • b4882 to before b8487Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.