{"id":"CVE-2026-116840","revision":"83e807e504a2456ea76ab3713055f016","records":[{"revision":"83e807e504a2456ea76ab3713055f016","observedAt":"2026-10-27T15:44:06.157+00:00","statement":{"source":"cve-program","id":"CVE-2026-116840","aliases":[],"title":"llama.cpp b5854 before b11275 Integer Overflow in gguf_init_from_reader","description":"llama.cpp b5854 before b11275 contains an integer overflow vulnerability in gguf_init_from_reader that bypasses the CVE-2025-53630 size check when padding near-SIZE_MAX tensor sizes. Attackers can supply a crafted GGUF file whose tensor size pads to zero, causing an undersized data blob and out-of-bounds reads by consumers.","state":0,"publishedAt":"2026-10-27T00:33:59.834+00:00","modifiedAt":"2026-10-27T14:14:10.931+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\": \"b5854\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\",\n                            \"lessThan\": \"b11275\"\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:N/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:N/A:H","score":6.1,"severity":"MEDIUM"}],"references":["https://github.com/ggml-org/llama.cpp/issues/26978","https://github.com/ggml-org/llama.cpp/pull/26979","https://github.com/ggml-org/llama.cpp/commit/a6ea155d3d38b3f6f43d0c0dc29c2d592413ef44","https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L794-L795","https://github.com/ggml-org/llama.cpp/releases/tag/b11275","https://www.vulncheck.com/advisories/llama-cpp-b5854-before-b11275-integer-overflow-in-gguf-init-from-reader"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116840","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-116840","identifiers":["CVE-2026-116840"]},"retained":false,"historicalAffected":[]}],"coverage":[]}