CVE-2026-52132
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductGgml Llama.cpp
PublishedSep 1, 2026
First seenSep 1, 2026
Weakness typeCWE-674CWE-674
How to fix
Sources list no fixed version or patch link for this vulnerability.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ggml llama.cpp | v ≤ 0.4.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.