{"id":"CVE-2025-71439","aliases":[],"title":"llama.cpp before b5649 Heap Out-of-Bounds Read via llama_vocab::impl::print_info","titleSource":"VulnCheck","descriptionSource":"VulnCheck","products":[{"vendor":"ggml-org","name":"llama.cpp","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"b5649","versionType":"custom"}],"defaultStatus":"unaffected","source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2025-71439"}],"remediation":[],"description":"llama.cpp before b5649 contains a heap out-of-bounds read vulnerability in llama_vocab::impl::print_info() that allows attackers to crash model loading via oversized special token IDs. Attackers can supply a crafted GGUF model with a short tokenizer.ggml.tokens array, causing llama-cli or llama-server to read past id_to_token and crash.","severity":"medium","score":6.8,"published":"2026-10-27T00:33:57.956Z","modified":"2026-10-27T00:33:57.956Z","withdrawn":false,"knownExploited":false,"affected":[],"references":["https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-g4cc-763q-h9h6","https://github.com/ggml-org/llama.cpp/pull/14145","https://github.com/ggml-org/llama.cpp/commit/c33fe8b8c4427202706b1434e9fc8ab5752c9cac","https://github.com/ggml-org/llama.cpp/blob/b5648/src/llama-vocab.cpp#L2771","https://github.com/ggml-org/llama.cpp/releases/tag/b5649","https://www.vulncheck.com/advisories/llama-cpp-before-b5649-heap-out-of-bounds-read-via-llama-vocab-impl-print-info"],"sources":[{"name":"CVE","id":"CVE-2025-71439","modified":"2026-10-27T00:33:57.956Z","url":"https://www.cve.org/CVERecord?id=CVE-2025-71439"}],"assessments":[{"source":"VulnCheck","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6.8},{"source":"VulnCheck","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5}],"sourceAffected":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T22:30:31.386Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}