{"schema":"vulnpedia.research/1","cve":"CVE-2024-58400","references":[{"url":"https://github.com/ggml-org/llama.cpp/blob/b3681/examples/server/server.cpp#L789","tags":["technical-description"],"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","origins":[{"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","tags":["technical-description"],"url":"https://github.com/ggml-org/llama.cpp/blob/b3681/examples/server/server.cpp#L789"},{"source":"nvd","sourceId":"CVE-2024-58400","modified":"2026-10-27T23:10:00.153","url":"https://github.com/ggml-org/llama.cpp/blob/b3681/examples/server/server.cpp#L789"}]},{"url":"https://github.com/ggml-org/llama.cpp/commit/eae597182cb61bbde0b26e7cec5999d28b9327fe","tags":["patch"],"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","origins":[{"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","tags":["patch"],"url":"https://github.com/ggml-org/llama.cpp/commit/eae597182cb61bbde0b26e7cec5999d28b9327fe"},{"source":"nvd","sourceId":"CVE-2024-58400","modified":"2026-10-27T23:10:00.153","url":"https://github.com/ggml-org/llama.cpp/commit/eae597182cb61bbde0b26e7cec5999d28b9327fe"}]},{"url":"https://github.com/ggml-org/llama.cpp/commit/faf69d4237c9ae4d7f572b4674d1002463e8acd3","tags":["patch"],"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","origins":[{"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","tags":["patch"],"url":"https://github.com/ggml-org/llama.cpp/commit/faf69d4237c9ae4d7f572b4674d1002463e8acd3"},{"source":"nvd","sourceId":"CVE-2024-58400","modified":"2026-10-27T23:10:00.153","url":"https://github.com/ggml-org/llama.cpp/commit/faf69d4237c9ae4d7f572b4674d1002463e8acd3"}]},{"url":"https://github.com/ggml-org/llama.cpp/pull/9359","tags":["issue-tracking","patch"],"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","origins":[{"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","tags":["issue-tracking","patch"],"url":"https://github.com/ggml-org/llama.cpp/pull/9359"},{"source":"nvd","sourceId":"CVE-2024-58400","modified":"2026-10-27T23:10:00.153","url":"https://github.com/ggml-org/llama.cpp/pull/9359"}]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b3701","tags":["release-notes"],"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","origins":[{"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","tags":["release-notes"],"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b3701"},{"source":"nvd","sourceId":"CVE-2024-58400","modified":"2026-10-27T23:10:00.153","url":"https://github.com/ggml-org/llama.cpp/releases/tag/b3701"}]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-before-b3701-out-of-bounds-read-in-llama-decode-via-token-ids","tags":["third-party-advisory"],"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","origins":[{"source":"mitre","sourceId":"VulnCheck","modified":"2026-10-27T00:33:57.354Z","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/llama-cpp-before-b3701-out-of-bounds-read-in-llama-decode-via-token-ids"},{"source":"nvd","sourceId":"CVE-2024-58400","modified":"2026-10-27T23:10:00.153","url":"https://www.vulncheck.com/advisories/llama-cpp-before-b3701-out-of-bounds-read-in-llama-decode-via-token-ids"}]},{"source":"euvd","sourceId":"EUVD-2024-55827","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-55827","tags":["ADVISORY"],"origins":[{"source":"euvd","sourceId":"EUVD-2024-55827","tags":["ADVISORY"],"url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-55827"}]}],"packages":[],"pocCandidates":[],"cataloguedPoc":[],"vendorStatements":[],"labels":{"vendors":["ggml-org"],"products":["llama.cpp"]},"sourceTimes":{"cisa-kev":"2026-11-16T22:36:13.113Z","exploitdb":"2026-11-16T22:36:13.113Z","epss":"2026-11-16T22:36:13.113Z","nuclei":"2026-11-16T22:36:13.113Z","osv-PyPI":"2026-11-16T19:57:58.815Z","osv-npm":"2026-11-16T19:58:33.604Z","osv-Maven":"2026-11-16T19:58:01.751Z","osv-Go":"2026-11-16T19:58:04.353Z","osv-crates_io":"2026-11-16T19:58:05.248Z","osv-RubyGems":"2026-11-16T19:58:06.356Z","osv-Packagist":"2026-11-16T19:58:09.520Z","osv-NuGet":"2026-11-16T19:58:10.841Z","osv-Pub":"2026-11-16T19:58:11.100Z","osv-SwiftURL":"2026-11-16T19:58:11.345Z","osv-GitHub_Actions":"2026-11-16T19:58:11.655Z","osv-_EMPTY_":"2026-11-16T19:58:15.995Z","poc-in-github":"2026-11-16T19:58:22.103Z","metasploit":"2026-11-16T19:58:22.849Z","redhat-vex":"2026-11-16T20:10:49.226Z","euvd":"2026-11-16T19:57:45.452Z","vulncheck-kev":"2026-11-16T19:57:53.370Z","zdi":"2026-11-16T22:36:17.039Z","oss-security":"2026-11-16T22:36:17.039Z","full-disclosure":"2026-11-16T22:36:17.039Z","cert-cc":"2026-11-16T22:36:17.039Z","ghsa":"2026-11-16T19:57:58.815Z","pysec":"2026-11-16T19:57:58.815Z","go":"2026-11-16T19:57:58.815Z","rustsec":"2026-11-16T19:57:58.815Z","primary":"2026-10-27T14:14:21.519Z","nvd":"2026-10-27T23:10:00.153"},"sourceFields":{"schema":"vulnpedia.source-fields/1","primary":{"description":"llama.cpp before b3701 contains an out-of-bounds read vulnerability in llama_decode_internal and llama_encode_internal that allows remote unauthenticated attackers to read memory by supplying unvalidated token IDs. Attackers can send integer-array prompts to the llama-server /completion endpoint with IDs outside 0 to n_vocab to read embedding memory out of bounds or crash the process.","published":"2026-10-27","cwe":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"labels":{"vendors":["ggml-org"],"products":["llama.cpp"]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"}},"nvd":{"description":"llama.cpp before b3701 contains an out-of-bounds read vulnerability in llama_decode_internal and llama_encode_internal that allows remote unauthenticated attackers to read memory by supplying unvalidated token IDs. Attackers can send integer-array prompts to the llama-server /completion endpoint with IDs outside 0 to n_vocab to read embedding memory out of bounds or crash the process.","published":"2026-10-27","cwe":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"labels":{"vendors":[],"products":[]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"}}}}