llama.cpp b5899 before b10261 contains a heap out-of-bounds write vulnerability in llm_tokenizer_plamo2::build that
Affects llama.cppSource GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 28 Oct 2026, 22:32 UTC
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10llama.cpppkg:deb/ubuntu/llama.cpp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSllama.cpppkg:deb/ubuntu/llama.cpp?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid loading untrusted or crafted GGUF models to mitigate risk.
Description
A heap out-of-bounds write vulnerability exists in llama.cpp versions before b10261 in the llm_tokenizer_plamo2::build function. This flaw allows attackers to corrupt heap memory by supplying crafted GGUF models with specially crafted BYTE-typed token text containing negative parsed values. The vulnerability can cause crashes or potentially enable code execution during model loading.
References
- ubuntu.com/security/CVE-2026-116816 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-116816 (opens in a new tab)
- github.com/cveproject/cvelistv5/tree/main/cves/2026/116xxx/cve-2026-116816.json (opens in a new tab)
- github.com/ggml-org/llama.cpp/blob/b10259/src/llama-vocab.cpp (opens in a new tab)
- github.com/ggml-org/llama.cpp/commit/cf06ad7dfe79e7bf2934150d4fefe1ce8db05490 (opens in a new tab)
- github.com/ggml-org/llama.cpp/pull/25969 (opens in a new tab)
- github.com/ggml-org/llama.cpp/pull/26511 (opens in a new tab)
- github.com/ggml-org/llama.cpp/releases/tag/b10261 (opens in a new tab)
- nvd.nist.gov/vuln/detail/cve-2026-116816 (opens in a new tab)
- vulncheck.com/advisories/llama-cpp-b5899-before-b10261-heap-out-of-bounds-write-via-plamo2-tokenizer (opens in a new tab)