CVE-2026-116816:llama.cpp b5899 前版本的 plamo2 Tokenizer 造成堆外界寫入漏洞
CVE-2026-116816 - llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer
導語:llama.cpp 在 b5899 版至 b10261 版之間存在堆外界寫入漏洞,攻擊者可透過造假 GGUF 模型造成程式崩潰或執行任意程式。
- 漏洞範圍:
llm_tokenizer_plamo2::build中的負數 token 解析導致堆記憶體被覆寫。
此漏洞可導致模型崩潰或執行任意程式,需即時升級至 b10261 版本並避免載入未驗證的 GGUF 模型。
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.
Impact
Affected Products
The following products are affected by CVE-2026-116816
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
| ID | Vendor | Product | Action |
|---|---|---|---|
| 1 | Ggml-org | llama.cpp |
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 4.0 | HIGH | 83251b91-4cc7-4094-a5c7-464a1b83ea10 |
Update llama.cpp to a version that addresses the heap out-of-bounds write vulnerability.
- Update llama.cpp to a version including commit b10261.
- Avoid loading untrusted GGUF models.
- Validate token text input.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-116816 vulnerability anywhere in the article.
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.