CVE-2026-116840

llama.cpp b5854 before b11275 Integer Overflow in gguf_init_from_reader

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

Read the record on cve.org

Description

llama.cpp b5854 before b11275 contains an integer overflow vulnerability in gguf_init_from_reader that bypasses the CVE-2025-53630 size check when padding near-SIZE_MAX tensor sizes. Attackers can supply a crafted GGUF file whose tensor size pads to zero, causing an undersized data blob and out-of-bounds reads by consumers.

Scores

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

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
llama.cppggml-org
  • b5854 to before b11275Affected
  • 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.