{"id":"CVE-2026-52132","details":"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.","modified":"2026-10-22T02:30:48.541541191Z","published":"2026-09-01T00:00:00Z","related":["openSUSE-SU-2026:11720-1"],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52132.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52132.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52132"},{"type":"PACKAGE","url":"https://github.com/ggml-org/llama.cpp"},{"type":"ARTICLE","url":"https://blog.ph4nt0m.xyz/ko/cves/cve-2026-52132/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ggml-org/llama.cpp","events":[{"introduced":"0"},{"last_affected":"97f06e9"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"97f06e9"}],"source":"DESCRIPTION"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"last_affected":"0.4.0"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52132.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}