Skip to main content
CVE-2026-116829VulnerabilityPublished Updated

llama.cpp b10398 before b11301 contains an integer overflow vulnerability in gguf_init_from_reader that allows

Affects llama.cppSource GCVE Database

0
Authoritative record:CVE-2026-116829· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium.

Data as of 28 Oct 2026, 22:33 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10llama.cpppkg:deb/ubuntu/llama.cpp?arch=source&distro=stonkingOther threatsAffected
  • 8681+dfsg-1 – 10438+dfsg-1ubuntu1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSllama.cpppkg:deb/ubuntu/llama.cpp?arch=source&distro=resoluteOther threatsAffected
  • =5882+dfsg-2
  • =8064+dfsg-1ubuntu1
  • =8681+dfsg-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid processing untrusted GGUF files or apply input validation to prevent integer overflow in tensor shape calculations.

Description

An integer overflow vulnerability exists in llama.cpp versions before b11301 in the function gguf_init_from_reader. This flaw allows attackers to bypass tensor element-count validation by providing shapes whose product overflows to zero. Crafted GGUF files with large tensor extents can cause overflow in ggml_nbytes() and strides calculations, leading to out-of-bounds memory access due to buffers sized from wrapped byte counts.

References

Community reviews

Loading reviews…