llama.cppPublished 27 Oct 2026NVD status: Awaiting Analysis

CVE-2026-116829

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.

Componentllama.cpp
Severitymedium (CVSS 6.6)
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Published (NVD)2026-10-27
Affected versions
>= b10398, < b11301
>= 0.1.0, < 0.6.0
from the CVE Program record written by the CNA that assigned the CVE
Fixed inb11301, 0.6.0
WeaknessCWE-190
CISA KEVnot listed

Versions, checked against NVD

NVD's record (status: Awaiting Analysis) lists no affected versions of llama.cpp for this CVE. The ranges above come from the CVE record written by VulnCheck, the CNA that assigned the CVE.

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

What to do

  • Upgrade llama.cpp to the fixed release of the branch you run: b11301 or 0.6.0, or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources