{"id":"CVE-2024-58399","aliases":["CVE-2024-58399"],"related":[],"kind":"vulnerability","state":"published","title":"llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"llama.cpp antes de la versión b2731 contiene una vulnerabilidad de lectura fuera de límites en llama_model_loader que permite a los atacantes leer memoria fuera del archivo de modelo mapeado mediante desplazamientos de tensor GGUF manipulados. Los atacantes pueden suministrar un archivo de modelo GGUF manipulado o truncado con desplazamientos de tensor de 64?bits arbitrarios para bloquear el proceso o cargar la memoria adyacente del proceso como pesos del modelo.","source":"nvd"}],"published":"2026-10-27T00:33:56.695Z","modified":"2026-11-02T19:17:49.023Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"b1046","fixed":"b2731","status":"affected"}],"vendor":"ggml-org","product":"llama.cpp","source":"cvelist"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/issues/6774","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/6885","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/0ead1f1072fdc70720f92e008a294dc74a826b1d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/b2730/llama.cpp#L3002-L3004","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b2731","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-before-b2731-out-of-bounds-read-via-gguf-tensor-offsets","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["slaren","Jeongwoo Lee"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-02T18:53:28.974Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58399","url":"https://www.cve.org/CVERecord?id=CVE-2024-58399","licence":"CVE Terms of Use","modified":"2026-11-02T18:54:43.336Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58399","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58399","licence":"Public domain","modified":"2026-11-02T19:17:49.023Z"}],"updatedAt":"2026-11-25T22:58:53.095Z","epss":{"score":0.00162,"percentile":0.05577,"date":"2026-12-01T12:00:22.000Z"}}