CVE-2026-116829
llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader
CVSS Score
6.6
EPSS Score
0.0%
EPSS Percentile
0th
llama.cpp b10398 before b11301 contains an integer overflow vulnerability in gguf_init_from_reader that allows attackers to bypass tensor element-count validation by supplying shapes whose product wraps to zero. Attackers can craft GGUF files with enormous tensor extents that overflow ggml_nbytes() and strides, causing out-of-bounds memory access when buffers are sized from wrapped byte counts.
| CWE | CWE-190 |
| 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 medium 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:L/I:L/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High
Affected Versions
ggml-org / llama.cpp
b10398 < b11301 0.1.0 < 0.6.0
References
github.com: https://github.com/ggml-org/llama.cpp/issues/29383 github.com: https://github.com/ggml-org/llama.cpp/pull/29384 github.com: https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc github.com: https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701 github.com: https://github.com/ggml-org/llama.cpp/releases/tag/b11301 vulncheck.com: https://www.vulncheck.com/advisories/llama-cpp-b10398-before-b11301-integer-overflow-in-gguf-init-from-reader
Credits
Daniel Kuts (apach301) ๐ Jeongwoo Lee apach301