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.
References
| Link | Resource |
|---|---|
| https://blog.ph4nt0m.xyz/ko/cves/cve-2026-52132/ | Third Party Advisory |
| https://github.com/ggml-org/llama.cpp | Product |
Configurations
History
04 Sep 2026, 20:15
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Ggml llama.cpp
Ggml |
|
| CPE | cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:* | |
| References | () https://blog.ph4nt0m.xyz/ko/cves/cve-2026-52132/ - Third Party Advisory | |
| References | () https://github.com/ggml-org/llama.cpp - Product |
02 Sep 2026, 14:17
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-674 | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
01 Sep 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-01 18:17
Updated : 2026-09-04 20:15
NVD link : CVE-2026-52132
Mitre link : CVE-2026-52132
CVE.ORG link : CVE-2026-52132
JSON object : View
Products Affected
ggml
- llama.cpp
CWE
CWE-674
Uncontrolled Recursion
