CVE-2026-116829
llama.cpp b10398 before b11301 contains an integer overflow …
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.
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#L701
- github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc
- github.com/ggml-org/llama.cpp/issues/29383
- github.com/ggml-org/llama.cpp/pull/29384
- github.com/ggml-org/llama.cpp/releases/tag/b11301
- www.vulncheck.com/advisories/llama-cpp-b10398-before-b11301-integer-overflow-in-gguf-init-
- nvd.nist.gov/vuln/detail/CVE-2026-116829
- cve.org/CVERecord?id=CVE-2026-116829
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.