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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | llama.cpp | 1:0.6.0+dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | llama.cpp | No fix yet | — |
| Ubuntu 26.04 LTS | llama.cpp | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | llamacpp | 0.9.0-1.1 | openSUSE-SU-2026:12500-1 |
Advisories 1
- openSUSE-SU-2026:12500-1 ggml-devel-0.9.0-1.1 on GA media SUSE / openSUSE Security Updates · Nov 10, 2026
References
- https://github.com/ggml-org/llama.cpp/issues/26978 issue-tracking
- https://github.com/ggml-org/llama.cpp/pull/26979 patch issue-tracking
- https://github.com/ggml-org/llama.cpp/commit/a6ea155d3d38b3f6f43d0c0dc29c2d592413ef44 patch
- https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L794-L795 technical-description
- llama.cpp b11275 Release Notes release-notes
- VulnCheck Advisory: llama.cpp b5854 before b11275 Integer Overflow in gguf_init_from_reader third-party-advisory