{"id":"CVE-2026-52132","aliases":["DEBIAN-CVE-2026-52132","EUVD-2026-69410","GHSA-rqxm-jx33-wrqr","UBUNTU-CVE-2026-52132","openSUSE-SU-2026:11720-1"],"status":"published","title":"llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers...","description":"llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers to cause a denial of service (std::bad_alloc and HTTP 500) via a negative top_n value in a POST request to /rerank.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00588,"percentile":0.48571,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-674"],"published":"2026-09-01T00:00:00Z","modified":"2026-10-28T02:30:54Z","fixes":[{"ecosystem":"openSUSE:Tumbleweed","package":"llamacpp","fixed_in":["0.4.0-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:14","package":"llama.cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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.4.0-1.1"}]}]}],"products":[{"vendor":"ggml","product":"llama.cpp"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp","tags":["Product","package"]},{"url":"https://blog.ph4nt0m.xyz/ko/cves/cve-2026-52132/","tags":["Third Party Advisory","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52132","tags":["advisory"]},{"url":"https://blog.ph4nt0m.xyz/ko/cves/cve-2026-52132"},{"url":"https://github.com/advisories/GHSA-rqxm-jx33-wrqr"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52132.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-52132","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-52132","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-52132","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-52132","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-52132","description":"llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers to cause a denial of service (std::bad_alloc and HTTP 500) via a negative top_n value in a POST request to /rerank.","status":"published","published":"2026-09-01T00:00:00Z","modified":"2026-09-02T13:47:15.74Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T13:40:57.334596Z"}],"euvd":[{"id":"EUVD-2026-69410","description":"llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers to cause a denial of service (std::bad_alloc and HTTP 500) via a negative top_n value in a POST request to /rerank.","status":"published","published":"2026-09-01T00:00:00Z","modified":"2026-09-02T13:47:15Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T18:01:16.020579Z"}],"ghsa":[{"id":"GHSA-rqxm-jx33-wrqr","title":"llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers...","description":"llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers to cause a denial of service (std::bad_alloc and HTTP 500) via a negative top_n value in a POST request to /rerank.","status":"published","published":"2026-09-01T18:30:46Z","modified":"2026-09-02T15:35:41Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T15:11:17.291346Z"}],"nvd":[{"id":"CVE-2026-52132","description":"llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers to cause a denial of service (std::bad_alloc and HTTP 500) via a negative top_n value in a POST request to /rerank.","status":"published","published":"2026-09-01T18:17:43.823Z","modified":"2026-09-04T20:15:30.377Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T14:12:43.04945Z"}],"osv":[{"id":"CVE-2026-52132","description":"llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers to cause a denial of service (std::bad_alloc and HTTP 500) via a negative top_n value in a POST request to /rerank.","status":"published","published":"2026-09-01T00:00:00Z","modified":"2026-10-28T02:30:54.136046693Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:07.431113Z"},{"id":"DEBIAN-CVE-2026-52132","description":"llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers to cause a denial of service (std::bad_alloc and HTTP 500) via a negative top_n value in a POST request to /rerank.","status":"published","published":"2026-09-01T18:17:43.823Z","modified":"2026-10-01T03:03:16.713861802Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:56.877408Z"},{"id":"UBUNTU-CVE-2026-52132","description":"llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers to cause a denial of service (std::bad_alloc and HTTP 500) via a negative top_n value in a POST request to /rerank.","status":"published","published":"2026-09-01T18:17:00Z","modified":"2026-10-17T12:58:34.276513356Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:56:33.391918Z"},{"id":"openSUSE-SU-2026:11720-1","title":"ggml-devel-0.4.0-1.1 on GA media","description":"These are all security issues fixed in the ggml-devel-0.4.0-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-09-08T00:00:00Z","modified":"2026-09-09T10:00:04.853031639Z","updated_at":"2026-11-02T16:58:39.516824Z"}]}}
