{"id":"CVE-2025-53630","aliases":["DEBIAN-CVE-2025-53630","EUVD-2025-21070","GHSA-vgg9-87g3-85w8","UBUNTU-CVE-2025-53630","openSUSE-SU-2025:15343-1"],"status":"published","title":"Integer Overflow in GGUF Parser can lead to Heap Out-of-Bounds Read/Write in gguf","description":"llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.","severity":{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00363,"percentile":0.30399,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-122","CWE-680"],"published":"2025-07-10T19:32:45Z","modified":"2026-10-28T11:02:06Z","fixes":[{"ecosystem":"Debian:14","package":"ggml","fixed_in":["0.0~git20250711.b6d2ebd-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"llama.cpp","fixed_in":["5882+dfsg-1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"llamacpp","fixed_in":["5889-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:14","package":"ggml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0~git20250711.b6d2ebd-1"}]}],"versions":["0.0~git20250414.be935ac-4","0.0~git20250414.be935ac-5","0.0~git20250502.17733de-1","0.0~git20250502.17733de-2","0.0~git20250502.17733de-3","0.0~git20250502.17733de-4","0.0~git20250618.9e4bee1-1","0.0~git20250618.9e4bee1-2"]},{"source":"osv","ecosystem":"Debian:14","package":"llama.cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5882+dfsg-1"}]}],"versions":["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"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"llama.cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5318+dfsg-1","5318+dfsg-2","5713+dfsg-1","5760+dfsg-1","5760+dfsg-3","5760+dfsg-4","5882+dfsg-2"]},{"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":"5889-1.1"}]}]}],"products":[{"vendor":"ggml-org","product":"llama.cpp"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-vgg9-87g3-85w8","tags":["x_refsource_CONFIRM","advisory","report"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/26a48ad699d50b6268900062661bd22f3e792579","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53630.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53630","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-53630","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-53630","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-53630","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-53630","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2025-53630","title":"Integer Overflow in GGUF Parser can lead to Heap Out-of-Bounds Read/Write in gguf","description":"llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.","status":"published","published":"2025-07-10T19:32:45.296Z","modified":"2025-07-10T20:31:07.24Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-122","CWE-680"],"updated_at":"2026-11-02T14:32:49.180768Z"}],"euvd":[{"id":"EUVD-2025-21070","description":"llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.","status":"published","published":"2025-07-10T19:32:45Z","modified":"2025-07-10T20:31:07Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high"}],"updated_at":"2026-11-02T20:32:09.102762Z"}],"nvd":[{"id":"CVE-2025-53630","description":"llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.","status":"published","published":"2025-07-10T20:15:27.523Z","modified":"2026-06-17T09:38:36.297Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/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":"high","assessor":"secondary"}],"cwes":["CWE-122","CWE-680"],"updated_at":"2026-11-02T14:11:18.285862Z"}],"osv":[{"id":"CVE-2025-53630","title":"Integer Overflow in GGUF Parser can lead to Heap Out-of-Bounds Read/Write in gguf","description":"llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.","status":"published","published":"2025-07-10T19:32:45.296Z","modified":"2026-10-28T11:02:06.809587279Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high"}],"cwes":["CWE-122","CWE-680"],"updated_at":"2026-11-02T15:44:50.45326Z"},{"id":"DEBIAN-CVE-2025-53630","description":"llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.","status":"published","published":"2025-07-10T20:15:27.523Z","modified":"2026-09-01T20:05:54.36616231Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/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":"high"}],"updated_at":"2026-11-02T15:45:47.378563Z"},{"id":"UBUNTU-CVE-2025-53630","description":"llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.","status":"published","published":"2025-07-10T20:15:00Z","modified":"2026-10-17T12:57:07.008511715Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high"}],"updated_at":"2026-11-02T16:55:50.31802Z"},{"id":"openSUSE-SU-2025:15343-1","title":"ggml-devel-5889-1.1 on GA media","description":"These are all security issues fixed in the ggml-devel-5889-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-07-15T00:00:00Z","modified":"2026-03-23T04:53:39.61689Z","updated_at":"2026-11-02T16:58:37.810934Z"}]}}
