CVE-2024-58399

published 27 Oct 2026 · updated 2 Nov 2026

llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in b2731.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ggml-org>=b1046 <b2731b2731

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58399 severity on Zeptric[![CVE-2024-58399](https://zeptric.io/badge/cve/CVE-2024-58399.svg)](https://zeptric.io/cve/CVE-2024-58399)