{"id":"CVE-2026-116829","published":"2026-10-27T01:19:06.583","lastModified":"2026-10-27T01:19:06.583","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.","cvssScore":6.6,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","cwes":["CWE-190"],"vendors":[],"products":[],"references":[{"url":"https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701","tags":[]},{"url":"https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc","tags":[]},{"url":"https://github.com/ggml-org/llama.cpp/issues/29383","tags":[]},{"url":"https://github.com/ggml-org/llama.cpp/pull/29384","tags":[]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b11301","tags":[]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b10398-before-b11301-integer-overflow-in-gguf-init-from-reader","tags":[]}],"exploitRefs":[{"url":"https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701","tags":[]},{"url":"https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc","tags":[]},{"url":"https://github.com/ggml-org/llama.cpp/issues/29383","tags":[]},{"url":"https://github.com/ggml-org/llama.cpp/pull/29384","tags":[]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b11301","tags":[]}],"hasPoc":true,"ai":null}