CVE-2026-52132CWE-674
CVE-2026-52132
High · published September 1, 2026
What it is
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.
The record
Technical detail
- CVSS v3.1
- 7.5 · HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4.0
- Not supplied
- EPSS
- 0.00588 · 47.4th percentile
- Weakness
- CWE-674 · Uncontrolled Recursion
- Published
- 2026-09-01T22:17Z
Affected products (1)
| Product | Versions | Fixed in |
|---|
| ggml/llama.cpp | ≤ 0.4.0 | — |
References (2)
EPSS history
Timeline