CVE-2026-116816
published high CVSS 4.0 · 8.5llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ggml-org | — | llama.cppb5899 to < b10261 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ggml-org | llama.cpp | b5899 to < b10261 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-129 Improper Validation of Array Index
References
6- https://github.com/ggml-org/llama.cpp/blob/b10259/src/llama-vocab.cpp#L1376-L1377
- https://github.com/ggml-org/llama.cpp/commit/cf06ad7dfe79e7bf2934150d4fefe1ce8db05490
- https://github.com/ggml-org/llama.cpp/pull/25969
- https://github.com/ggml-org/llama.cpp/pull/26511
- llama.cpp b10261 Release Notes https://github.com/ggml-org/llama.cpp/releases/tag/b10261
- VulnCheck Advisory: llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer https://www.vulncheck.com/advisories/llama-cpp-b5899-before-b10261-heap-out-of-bounds-write-via-plamo2-tokenizer
Provider assertions
2VulnCheck · cna
llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2747dec226c68b6c17dde7bfa768e5caf2311c1dda0a1f01022729d71178a70b
- Ingested
- 31 Oct 2026, 02:26:54 UTC
- Source record
- Official CVE record