CVE-2026-116829
llama.cpp b10398 before b11301 contains an integer overflow vulnerability in gguf_init_from_reader…
- Risk score
- 40/100
- CVSS
- 6.6 v3.1
- Exploit chance (30 days)
- 0.1%
- Published
- 27 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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, causin…
- Affected
- See advisory
- Fix
- Apply the vendor's security update; see the linked advisory.
- Exploitation
- No known exploitation
Why it is Yellow
- CVSS 6.6 medium
References
- https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701
- https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc
- https://github.com/ggml-org/llama.cpp/issues/29383
- https://github.com/ggml-org/llama.cpp/pull/29384
- https://github.com/ggml-org/llama.cpp/releases/tag/b11301
- https://www.vulncheck.com/advisories/llama-cpp-b10398-before-b11301-integer-overflow-in-gguf-init-from-reader
Original description
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.
Last activity 27 Oct 2026. Patch Forecast updates every hour.