# CVE-2026-116829: llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-27T00:33:59.223Z
- Modified: 2026-11-02T19:17:59.280Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- ggml-org llama.cpp: from b10398 before b11301; from 0.1.0 before 0.6.0

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H`

## References

- <https://github.com/ggml-org/llama.cpp/issues/29383> (exploit, issue-tracking)
- <https://github.com/ggml-org/llama.cpp/pull/29384> (issue-tracking, patch)
- <https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc> (patch)
- <https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701> (technical-description)
- <https://github.com/ggml-org/llama.cpp/releases/tag/b11301> (release-notes)
- <https://www.vulncheck.com/advisories/llama-cpp-b10398-before-b11301-integer-overflow-in-gguf-init-from-reader> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-116829](https://www.cve.org/CVERecord?id=CVE-2026-116829), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-116829](https://nvd.nist.gov/vuln/detail/CVE-2026-116829), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-116829 · Whole record: https://cve.day/CVE-2026-116829.json · Rebuilt by cve.day 2026-11-25T22:59:47.320Z
