What’s Vulnerable › Vulnerabilities

CVE-2026-116840: llama.cpp b5854 before b11275 Integer Overflow in gguf_init_from_reader

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

How to fix

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

References

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