{"id":"CVE-2024-58399","published":"2026-10-27T00:33:56Z","modified":"2026-11-02T18:54:43Z","title":"llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets","vendor":"ggml-org","product":"llama.cpp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0012,"percentile":0.01898,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/issues/6774","tags":["issue-tracking"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/6885","tags":["patch","issue-tracking"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/0ead1f1072fdc70720f92e008a294dc74a826b1d","tags":["patch"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/b2730/llama.cpp#L3002-L3004","tags":["technical-description"]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b2731","tags":["release-notes"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-before-b2731-out-of-bounds-read-via-gguf-tensor-offsets","tags":["third-party-advisory"]}],"priority":{"score":4.6,"factors":[{"name":"EPSS percentile","points":0.38},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"ggml-org","affectedVersions":[{"vendor":"ggml-org","product":"llama.cpp","versions":[">= b1046, < b2731"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-02T18:53:28.974837Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-55826","exploited":false,"provenance":"source"}}