Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-116840 EUVD-2026-110571GHSA-52pf-v9gp-98qj

llama.cpp b5854 before b11275 Integer Overflow in gguf_init_from_reader

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

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.

Affected products

VendorProductAffectedFixed
ggml-org llama.cpp b5854 – < b11275, 0.1.0 – < 0.6.0 b11275

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