Skip to content
CVE PROGRAM SOURCE RECORD6.8 Medium

CVE-2025-71439

llama.cpp before b5649 Heap Out-of-Bounds Read via llama_vocab::impl::print_info

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

ggml-org llama.cpp

Default version status: unaffected

  • 0 to < b5649affected
pkg:github/ggml-org/llama.cpp

References