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.
https://github.com/ggml-org/llama.cpp
https://blog.ph4nt0m.xyz/ko/cves/cve-2026-52132/
Source: Mitre, NVD
Published: 2026-09-01
Updated: 2026-09-04
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C
Severity: High
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.00202