{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"ggml-org/llama.cpp","product":"llama.cpp","source":"CNA: VulnCheck","vendor":"ggml-org","versions":[{"lessThan":"b2731","status":"affected","version":"b1046","versionType":"custom"}]}],"cveId":"CVE-2024-58399","cwes":["CWE-125"],"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.","epss":{"date":"2026-11-02","percentile":0.0182,"score":0.0012},"exploits":[],"kev":null,"metrics":[{"score":6.9,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"score":6.1,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"}],"modifiedAt":1793645683336,"publishedAt":1793061236695,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking"],"url":"https://github.com/ggml-org/llama.cpp/issues/6774"},{"source":"CNA: VulnCheck","tags":["patch","issue-tracking"],"url":"https://github.com/ggml-org/llama.cpp/pull/6885"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/ggml-org/llama.cpp/commit/0ead1f1072fdc70720f92e008a294dc74a826b1d"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/ggml-org/llama.cpp/blob/b2730/llama.cpp#L3002-L3004"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b2731"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/llama-cpp-before-b2731-out-of-bounds-read-via-gguf-tensor-offsets"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/ggml-org/llama.cpp/pull/6885"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/ggml-org/llama.cpp/commit/0ead1f1072fdc70720f92e008a294dc74a826b1d"}],"revision":"460dfc55f9053ce9a4d8f7866a190b534aed6aa005df794a5eda9649a699a373","sources":[{"modifiedAt":1793645683336,"name":"CNA: VulnCheck","retrievedAt":1793646513696,"url":"https://www.cve.org/CVERecord?id=CVE-2024-58399"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1793646521809,"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-58399"}],"ssvc":{"assessedAt":1793645608974,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets","updatedAt":1793646521809}