CVE-2026-116829: ggml-org llama.cpp · Integer Overflow or Wraparound
Affects ggml-org llama.cppSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium : upgrade to b11301 or 0.6.0 when convenient.
Data as of 27 Oct 2026, 01:27 UTC
- Patch
- Available – fixed in b11301, 0.6.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/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
Upgrade llama.cpp to b11301 or 0.6.0; llama.cpp to 0.6.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ggml-orgllama.cpp | Affected
| Fixed in
|
GitHubllama.cpppkg:github/llama.cppOther 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
Upgrade llama.cpp to version 0.6.0 (b11301) or later, where this integer overflow vulnerability has been fixed. No other mitigation is required as the fix addresses the root cause.
Description
An integer overflow vulnerability exists in llama.cpp versions from 0.1.0 up to but not including 0.6.0. The flaw occurs in the gguf_init_from_reader function, where attackers can supply tensor shapes whose product wraps to zero, bypassing tensor element-count validation. This allows crafting GGUF files with extremely large tensor extents that overflow internal byte count calculations, leading to out-of-bounds memory access.
References
- github.com/ggml-org/llama.cpp/issues/29383 (opens in a new tab)
- github.com/ggml-org/llama.cpp/pull/29384 (opens in a new tab)
- github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc (opens in a new tab)
- github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp (opens in a new tab)
- github.com/ggml-org/llama.cpp/releases/tag/b11301 (opens in a new tab)
- vulncheck.com/advisories/llama-cpp-b10398-before-b11301-integer-overflow-in-gguf-init-from-reader (opens in a new tab)