llama.cppPublished 27 Oct 2026NVD status: Awaiting Analysis

CVE-2024-58399

llama.cpp before b2731 contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory outside the mapped model file via crafted GGUF tensor offsets.

Componentllama.cpp
Severitymedium (CVSS 6.1)
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Published (NVD)2026-10-27
Last modified2026-11-02
Affected versions
< b2731
read from the advisory text, followed where the structured sources say otherwise
Fixed inb2731
WeaknessCWE-125
CISA KEVnot listed

Versions, checked against NVD

NVD's record (status: Awaiting Analysis) lists no affected versions of llama.cpp for this CVE. The ranges above are read from the advisory text: neither a GitHub-reviewed advisory nor the CVE record confirms them yet.

NVD description

llama.cpp before b2731 contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory outside the mapped model file via crafted GGUF tensor offsets. Attackers can supply a crafted or truncated GGUF model file with arbitrary 64-bit tensor offsets to crash the process or load adjacent process memory as model weights.

What to do

Sources