Vulnerability

CVE-2024-58399

mediumCVSS 4.0 6.9Published 27 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /ggml-org/llama.cpp/blob/b2730/llama.cpp
  • github.com /ggml-org/llama.cpp/commit/0ead1f1072fdc70720f92e008a294dc7…
  • github.com /ggml-org/llama.cpp/issues/6774
  • github.com /ggml-org/llama.cpp/pull/6885
  • github.com /ggml-org/llama.cpp/releases/tag/b2731
  • www.vulncheck.com /advisories/llama-cpp-before-b2731-out-of-bounds-read-via-g…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning