6.5Medium

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

ggml-org llama.cpp Published: (3 months ago)

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.

Weakness (CWE): CWE-125CWE-209

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ggml llama.cpp b4882 – ≤ b8487
ggml-org llama.cpp b4882 – < b8487

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:* ≥ b5702 ≤ b7653