{"id":"CVE-2026-116829","title":"llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader","summary":"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 …","severity":"medium","cvss":6.6,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","cvssSource":"cna","cwe":["CWE-190"],"vendor":"ggml-org","product":"llama.cpp","affected":["llama.cpp >= b10398 < b11301","llama.cpp >= 0.1.0 < 0.6.0"],"published":"2026-10-27","updated":"2026-10-27","sourceUpdated":"2026-10-27T00:33:59.223Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116829","references":[{"url":"https://github.com/ggml-org/llama.cpp/issues/29383"},{"url":"https://github.com/ggml-org/llama.cpp/pull/29384"},{"url":"https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc"},{"url":"https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701"},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b11301","label":"llama.cpp b11301 Release Notes"},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b10398-before-b11301-integer-overflow-in-gguf-init-from-reader","label":"VulnCheck Advisory: llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader"}],"tags":["cve.org"],"epss":0.00126,"epssPercentile":0.02297,"ingestedAt":"2026-10-27T16:11:59.181Z","slug":"CVE-2026-116829","body":"## Overview\n\nllama.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.\n\n## Affected\n\n- `llama.cpp >= b10398 < b11301`\n- `llama.cpp >= 0.1.0 < 0.6.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":36.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}