All reports
Medium

UBUNTU-CVE-2025-71439

Affected versions

Affected versions
* || =5882+dfsg-2 || =8064+dfsg-1ubuntu1 || =8681+dfsg-1
Fixed version
Not reported
Affected versions
* || =8681+dfsg-1 || =9721+dfsg-1ubuntu1 || =10438+dfsg-1 || =10438+dfsg-1ubuntu1
Fixed version
Not reported

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.

Links