6.6Medium

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

ggml-org llama.cpp Published: (23 days ago)

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.

Weakness (CWE): CWE-190

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ggml llama.cpp b10398 – < b11301
ggml-org llama.cpp b10398 – < b11301, 0.1.0 – < 0.6.0

References and patches