llama.cpp before b5649 Heap Out-of-Bounds Read via llama_vocab::impl::print_info
At a glance
Severity
MEDIUM 6.8
EPSS
EPSS 0.12 % · percentile 2 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
VulnCheck
NVD status
Awaiting Analysis
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.