CVE-2026-116829

llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader

State
Published
Severity
6.9 Medium
Published
Oct 27, 2026
Updated
Oct 27, 2026
Reserved
Oct 26, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:NVulnCheck
3.16.6 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:HVulnCheck

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
llama.cppggml-org
  • b10398 to before b11301Affected
  • 0.1.0 to before 0.6.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.