Skip to content
OpenAdvisories
Medium · 6.6 CVE-2026-116829 EUVD-2026-110570GHSA-3jhp-qv93-3428

llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader

Published Oct 27, 2026 · Updated Nov 2, 2026 · Assigned by VulnCheck

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.

Affected products

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 llama.cpp 1:0.6.0+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 llama.cpp No fix yet —
Ubuntu 26.04 LTS llama.cpp No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed llamacpp 0.9.0-1.1 openSUSE-SU-2026:12500-1

Advisories 1

References