{"id":"CVE-2026-116829","state":"PUBLISHED","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.","publishedAt":"2026-10-27T00:33:59.223Z","updatedAt":"2026-10-27T00:33:59.223Z","severity":{"score":6.9,"label":"Medium","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["ggml-org llama.cpp"],"affected":[{"vendor":"ggml-org","product":"llama.cpp","packageURL":"pkg:github/ggml-org/llama.cpp","defaultStatus":"unaffected","versions":[{"version":"b10398","status":"affected","lessThan":"b11301","versionType":"custom"},{"version":"0.1.0","status":"affected","lessThan":"0.6.0","versionType":"semver"}]}],"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"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/116xxx/CVE-2026-116829.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-116829","state":"PUBLISHED","datePublished":"2026-10-27T00:33:59.223Z","dateUpdated":"2026-10-27T00:33:59.223Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-26T22:14:57.233Z"},"containers":{"cna":{"title":"llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ggml-org","product":"llama.cpp","packageURL":"pkg:github/ggml-org/llama.cpp","defaultStatus":"unaffected","versions":[{"version":"b10398","status":"affected","lessThan":"b11301","versionType":"custom"},{"version":"0.1.0","status":"affected","lessThan":"0.6.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/issues/29383","tags":["issue-tracking"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/29384","tags":["patch","issue-tracking"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc","tags":["patch"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701","tags":["technical-description"]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b11301","tags":["release-notes"],"name":"llama.cpp b11301 Release Notes"},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b10398-before-b11301-integer-overflow-in-gguf-init-from-reader","name":"VulnCheck Advisory: llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"HIGH","baseScore":6.6,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","lang":"en","description":"Integer Overflow or Wraparound","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-27T00:33:59.223Z"},"datePublic":"2026-09-24T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*","versionStartIncluding":"b10398","versionEndExcluding":"b11301"}]}]}],"credits":[{"lang":"en","value":"Daniel Kuts (apach301)","type":"finder"},{"lang":"en","value":"Jeongwoo Lee","type":"reporter"},{"lang":"en","value":"apach301","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}