CVE-2024-58399

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductGgml-org Llama.cpp
PublishedOct 27, 2026
First seenOct 27, 2026

How to fix

Affected products

ProductAffected versionsFixed in
ggml-org llama.cppb1046 ≤ v < b2731b2731

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.