CVE-2025-71439
mediumllama.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 ove…
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.
CVSS
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Severity source: NVD CVSS v3.1 (disclosure@vulncheck.com)
Timeline (UTC)
Published: 2026-10-27 01:19
Modified: 2026-10-28 14:10
NVD status: Awaiting Analysis
Last synced 1 day ago
Verified against the source API 2026-10-28 14:25 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/ggml-org/llama.cpp/blob/b5648/src/llama-vocab.cpp#L2771 disclosure@vulncheck.com
- https://github.com/ggml-org/llama.cpp/commit/c33fe8b8c4427202706b1434e9fc8ab5752c9cac disclosure@vulncheck.com
- https://github.com/ggml-org/llama.cpp/pull/14145 disclosure@vulncheck.com
- https://github.com/ggml-org/llama.cpp/releases/tag/b5649 disclosure@vulncheck.com
- https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-g4cc-763q-h9h6 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/llama-cpp-before-b5649-heap-out-of-bounds-read-via-ll... disclosure@vulncheck.com
Data sources
NVD CVE API 2.0 — fetched 2026-10-28 14:25 UTC · record ↗
