CVE-2026-116816
llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-129 |
| Vendor | ggml-org |
| Product | llama.cpp |
| Published | Oct 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for ggml-org llama.cpp
Be the first to know when new high vulnerabilities affecting ggml-org llama.cpp are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
ggml-org / llama.cpp
b5899 < b10261
References
github.com: https://github.com/ggml-org/llama.cpp/pull/25969 github.com: https://github.com/ggml-org/llama.cpp/pull/26511 github.com: https://github.com/ggml-org/llama.cpp/commit/cf06ad7dfe79e7bf2934150d4fefe1ce8db05490 github.com: https://github.com/ggml-org/llama.cpp/blob/b10259/src/llama-vocab.cpp#L1376-L1377 github.com: https://github.com/ggml-org/llama.cpp/releases/tag/b10261 vulncheck.com: https://www.vulncheck.com/advisories/llama-cpp-b5899-before-b10261-heap-out-of-bounds-write-via-plamo2-tokenizer
Credits
Pedro Cruz (g4nkd) ๐ Jeongwoo Lee CISC