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

Medium 6.8 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2025-71439?

CVE-2025-71439 is a medium-severity vulnerability in ggml-org llama.cpp, published on 27 Oct 2026.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2025-71439?

How do I fix CVE-2025-71439?

No fix has been published for CVE-2025-71439 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-71439 being exploited?

There is no known exploitation of CVE-2025-71439 in the wild and no public exploit code.

Sources

Also known as GHSA-4qpr-vwfh-qwp4, GHSA-g4cc-763q-h9h6, UBUNTU-CVE-2025-71439.

Is CVE-2025-71439 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free