{"id":"CVE-2026-116829","revision":"edf362ebd45447e388d5b8c41ae4d5a7","records":[{"revision":"edf362ebd45447e388d5b8c41ae4d5a7","observedAt":"2026-10-27T02:31:55.176+00:00","statement":{"source":"cve-program","id":"CVE-2026-116829","aliases":[],"title":"llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader","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.","state":0,"publishedAt":"2026-10-27T00:33:59.223+00:00","modifiedAt":"2026-10-27T00:33:59.223+00:00","affected":[{"ecosystem":"Vendor product","name":"llama.cpp","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"ggml-org\",\n                    \"product\": \"llama.cpp\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:github/ggml-org/llama.cpp\",\n                    \"versions\": [\n                        {\n                            \"version\": \"b10398\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\",\n                            \"lessThan\": \"b11301\"\n                        },\n                        {\n                            \"version\": \"0.1.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"0.6.0\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","score":6.6,"severity":"MEDIUM"}],"references":["https://github.com/ggml-org/llama.cpp/issues/29383","https://github.com/ggml-org/llama.cpp/pull/29384","https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc","https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701","https://github.com/ggml-org/llama.cpp/releases/tag/b11301","https://www.vulncheck.com/advisories/llama-cpp-b10398-before-b11301-integer-overflow-in-gguf-init-from-reader"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116829","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-116829","identifiers":["CVE-2026-116829"]},"retained":false,"historicalAffected":[]}],"coverage":[]}