CVE-2026-116816
highllama.cpp b5899 before b10261 contains a heap out-of-bounds write vulnerability in llm_tokenizer_plamo2::build that allows attackers to corrupt heap memory via…
llama.cpp b5899 before b10261 contains a heap out-of-bounds write vulnerability in llm_tokenizer_plamo2::build that allows attackers to corrupt heap memory via crafted GGUF models. Attackers can supply BYTE-typed token text like <0x-1> whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 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/b10259/src/llama-vocab.cpp#L1376-L1377 disclosure@vulncheck.com
- https://github.com/ggml-org/llama.cpp/commit/cf06ad7dfe79e7bf2934150d4fefe1ce8db05490 disclosure@vulncheck.com
- https://github.com/ggml-org/llama.cpp/pull/25969 disclosure@vulncheck.com
- https://github.com/ggml-org/llama.cpp/pull/26511 disclosure@vulncheck.com
- https://github.com/ggml-org/llama.cpp/releases/tag/b10261 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/llama-cpp-b5899-before-b10261-heap-out-of-bounds-writ... disclosure@vulncheck.com
