{"id":"CVE-2026-116829","aliases":["DEBIAN-CVE-2026-116829","EUVD-2026-110570","GHSA-3jhp-qv93-3428","UBUNTU-CVE-2026-116829","openSUSE-SU-2026:12500-1"],"status":"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.","severity":{"version":"4.0","score":6.9,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00126,"percentile":0.02352,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2026-10-27T00:33:59Z","modified":"2026-11-10T13:15:11Z","fixes":[{"ecosystem":"Debian:14","package":"llama.cpp","fixed_in":["1:0.6.0+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:14","package":"llama.cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.6.0+dfsg-1"}]}],"versions":["10108+dfsg-1","10108+dfsg1-1","10108+dfsg1-2","10192+dfsg-1","10192+dfsg-2","10192+dfsg-2~exp1","10271+dfsg-1","10344+dfsg-1","10438+dfsg-1","1:0.1.2+dfsg-1~exp1","1:0.2.0+dfsg1-1","1:0.2.0+dfsg1-1~exp1","1:0.4.0+dfsg-1","1:0.4.1+dfsg-1","1:0.5.0+dfsg-1","1:0.5.0+dfsg-2","5151+dfsg-1~exp2","5151+dfsg-1~exp3","5318+dfsg-1","5318+dfsg-2","5713+dfsg-1","5760+dfsg-1","5760+dfsg-2","5760+dfsg-3","5760+dfsg-4","5882+dfsg-1","5882+dfsg-2","5882+dfsg-3","5882+dfsg-3~exp1","5882+dfsg-3~exp2","5882+dfsg-3~exp3","5882+dfsg-4","6641+dfsg-1","6641+dfsg-2","6641+dfsg-3","7593+dfsg-1","7593+dfsg-2","7593+dfsg-3","7965+dfsg-1","8064+dfsg-1","8064+dfsg-2","8461+dfsg-1","8611+dfsg-1","8681+dfsg-1","8870+dfsg-1","8941+dfsg-1","9009+dfsg-1","9071+dfsg-1","9190+dfsg-1","9413+dfsg-1","9555+dfsg-1","9601+dfsg-1","9721+dfsg-1","9895+dfsg-1","9895+dfsg-2","9895+dfsg-3","9951+dfsg-1","9951+dfsg-2","9951+dfsg-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"llama.cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8681+dfsg-1","9721+dfsg-1ubuntu1","10438+dfsg-1","10438+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"llama.cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5882+dfsg-2","8064+dfsg-1ubuntu1","8681+dfsg-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"llamacpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0-1.1"}]}],"bundled":3}],"products":[{"vendor":"ggml-org","product":"llama.cpp"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/issues/29383","tags":["issue-tracking","exploit","report"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/29384","tags":["patch","issue-tracking","fix","report"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc","tags":["patch","fix","report"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701","tags":["technical-description","article"]},{"url":"https://github.com/ggml-org/llama.cpp/releases/tag/b11301","tags":["release-notes","advisory","report"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b10398-before-b11301-integer-overflow-in-gguf-init-from-reader","tags":["third-party-advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116829","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3jhp-qv93-3428"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116829.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-116829","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-116829","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-116829","tags":["report"]},{"url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/116xxx/cve-2026-116829.json","tags":["report"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#l701","tags":["report"]},{"url":"https://nvd.nist.gov/vuln/detail/cve-2026-116829","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-116829","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-116840","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-33298","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-116829","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.","status":"published","published":"2026-10-27T00:33:59.223Z","modified":"2026-11-02T18:56:09.937Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium","assessor":"cna"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T19:47:06.831391Z"}],"euvd":[{"id":"EUVD-2026-110570","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.","status":"published","published":"2026-10-27T00:33:59Z","modified":"2026-11-02T18:56:09Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"updated_at":"2026-11-03T05:08:38.713005Z"}],"ghsa":[{"id":"GHSA-3jhp-qv93-3428","title":"llama.cpp b10398 before b11301 contains an integer overflow vulnerability in...","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.","status":"published","published":"2026-10-27T03:32:10Z","modified":"2026-10-27T03:32:14Z","cvss":[{"version":"4.0","score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","level":"medium"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:14:28.078787Z"}],"nvd":[{"id":"CVE-2026-116829","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.","status":"published","published":"2026-10-27T01:19:06.583Z","modified":"2026-11-02T19:17:59.28Z","cvss":[{"version":"4.0","score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-190"],"updated_at":"2026-11-03T00:02:36.126212Z"}],"osv":[{"id":"CVE-2026-116829","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.","status":"published","published":"2026-10-27T00:33:59.223Z","modified":"2026-11-10T13:27:19.893104979Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"cwes":["CWE-190"],"updated_at":"2026-11-10T14:01:17.904115Z"},{"id":"DEBIAN-CVE-2026-116829","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.","status":"published","published":"2026-10-27T01:19:06.583Z","modified":"2026-11-03T10:00:31.22906777Z","cvss":[{"version":"4.0","score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-03T10:27:58.933618Z"},{"id":"UBUNTU-CVE-2026-116829","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.","status":"published","published":"2026-10-27T01:19:00Z","modified":"2026-10-28T20:17:46.309817902Z","cvss":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","level":"medium"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","level":"medium"},{"version":"4.0","score":6.9,"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","level":"medium"},{"version":"4.0","score":6.9,"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","level":"medium"}],"updated_at":"2026-11-02T16:56:00.081948Z"},{"id":"openSUSE-SU-2026:12500-1","title":"ggml-devel-0.9.0-1.1 on GA media","description":"These are all security issues fixed in the ggml-devel-0.9.0-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-11-09T00:00:00Z","modified":"2026-11-10T13:15:11.108826119Z","updated_at":"2026-11-10T13:29:51.103746Z"}]}}
