{"id":"CVE-2025-71439","aliases":["CVE-2025-71439"],"related":[],"kind":"vulnerability","state":"published","title":"llama.cpp before b5649 Heap Out-of-Bounds Read via llama_vocab::impl::print_info","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"llama.cpp antes de b5649 contiene una vulnerabilidad de lectura fuera de los límites del heap en llama_vocab::impl::print_info() que permite a los atacantes bloquear la carga del modelo mediante IDs de tokens especiales de tamaño excesivo. Los atacantes pueden proporcionar un modelo GGUF manipulado con una matriz tokenizer.ggml.tokens corta, lo que hace que llama-cli o llama-server lean más allá de id_to_token y se bloqueen.","source":"nvd"}],"published":"2026-10-27T00:33:57.956Z","modified":"2026-11-05T16:17:22.120Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"b5649","status":"affected"}],"vendor":"ggml-org","product":"llama.cpp","source":"cvelist"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-g4cc-763q-h9h6","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/14145","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/c33fe8b8c4427202706b1434e9fc8ab5752c9cac","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/b5648/src/llama-vocab.cpp#L2771","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b5649","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-before-b5649-heap-out-of-bounds-read-via-llama-vocab-impl-print-info","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Miaoqian Lin (Yuuoniy)","Jeongwoo Lee","ggerganov"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-05T15:22:00.252Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71439","url":"https://www.cve.org/CVERecord?id=CVE-2025-71439","licence":"CVE Terms of Use","modified":"2026-11-05T15:22:09.001Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71439","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71439","licence":"Public domain","modified":"2026-11-05T16:17:22.120Z"}],"updatedAt":"2026-11-25T22:59:12.552Z","epss":{"score":0.00234,"percentile":0.15327,"date":"2026-12-01T12:00:22.000Z"}}