What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: ggml-org llama.cpp b11301, 0.6.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-116829 or the next vulnerability affects your stack