CVE-2026-116840
llama.cpp b5854 before b11275 contains an integer overflow …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L794-L795
- github.com/ggml-org/llama.cpp/commit/a6ea155d3d38b3f6f43d0c0dc29c2d592413ef44
- github.com/ggml-org/llama.cpp/issues/26978
- github.com/ggml-org/llama.cpp/pull/26979
- github.com/ggml-org/llama.cpp/releases/tag/b11275
- www.vulncheck.com/advisories/llama-cpp-b5854-before-b11275-integer-overflow-in-gguf-init-f
- nvd.nist.gov/vuln/detail/CVE-2026-116840
- cve.org/CVERecord?id=CVE-2026-116840
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.