llama.cpp denial of service in special token reporting
ggml-org llama.cpp
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ggml-org llama.cpp |
| No fix yet |
Original 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.
From the CVE record · VulnCheck