# CVE-2026-116816: llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-27T00:33:58.581Z
- Modified: 2026-10-31T03:17:17.683Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- ggml-org llama.cpp: from b5899 before b10261

## Every score

- VulnCheck: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ggml-org/llama.cpp/pull/25969> (issue-tracking, patch)
- <https://github.com/ggml-org/llama.cpp/pull/26511> (issue-tracking, patch)
- <https://github.com/ggml-org/llama.cpp/commit/cf06ad7dfe79e7bf2934150d4fefe1ce8db05490> (patch)
- <https://github.com/ggml-org/llama.cpp/blob/b10259/src/llama-vocab.cpp#L1376-L1377> (technical-description)
- <https://github.com/ggml-org/llama.cpp/releases/tag/b10261> (release-notes)
- <https://www.vulncheck.com/advisories/llama-cpp-b5899-before-b10261-heap-out-of-bounds-write-via-plamo2-tokenizer> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-116816](https://www.cve.org/CVERecord?id=CVE-2026-116816), CVE Terms of Use, modified 2026-10-31
- NVD: [CVE-2026-116816](https://nvd.nist.gov/vuln/detail/CVE-2026-116816), Public domain, modified 2026-10-31

---

Page: https://cve.day/CVE-2026-116816 · Whole record: https://cve.day/CVE-2026-116816.json · Rebuilt by cve.day 2026-11-25T22:59:47.320Z
