Heap out-of-bounds read in llama.cpp crashes model loading
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-125 and the CVSS impact.
Summary
llama.cpp before b5649 contains a heap out-of-bounds read in llama_vocab::impl::print_info() (CWE-125). A local attacker can crash llama-cli or llama-server by supplying a crafted GGUF model with a short tokenizer.ggml.tokens array, so the program reads past id_to_token when a user loads the model.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The fixed version for llama.cpp is b5649.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
- Fix · CNA llama.cpp (ggml-org) Fixed in b5649
Timeline
- 2026-10-27 Threatist record created from CVE-2025-71439
- 2026-10-27 Alias added: GHSA-4qpr-vwfh-qwp4
- 2026-10-27 Priority changed: MEDIUM → LOW
- 2026-11-05 CISA SSVC decision points changed
- 2026-11-05 Priority changed: LOW → MEDIUM
References
Patch 2
More ggml-org vulnerabilities
- TI-2026-26459 llama.cpp: Unauthenticated RCE via GRAPH_COMPUTE buffer=0 bypass in llama.cpp RPC backend CVSS 3.1CRITICAL 9.8
- TI-2024-28446 llama.cpp allows Arbitrary Address Read in rpc_server::get_tensor CVSS 3.1CRITICAL 9.8
- TI-2026-17570 llama.cpp has Out-of-bounds Write in llama-server CVSS 3.1CRITICAL 9.8
- TI-2024-28447 llama.cpp allows write-what-where in rpc_server::set_tensor CVSS 3.1CRITICAL 10.0
- TI-2024-15627 Integer overflow in ggml-org llama.cpp CVSS 3.1CRITICAL 9.8
- TI-2024-14482 Heap-based buffer overflow in ggml-org llama.cpp CVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-71439 · CVE Program
- CVE-2025-71439 · NVD
- FIRST EPSS
- GHSA-4qpr-vwfh-qwp4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences