Vulnerability in Ggml Llama.cpp
CVE-2026-52132
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (47.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 47th percentile — 47.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.006 · change: +0.003
Affected products
Weakness classification (CWE)
References
- github.com/ggml-org/llama.cpp (Product)
- blog.ph4nt0m.xyz/ko/cves/cve-2026-52132/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2026-52132?
- CVE-2026-52132 is a high-severity vulnerability in Ggml Llama.cpp, classified under Uncontrolled Recursion. CVSS score: 7.5/10. Published 2026-09-01.
- How severe is CVE-2026-52132?
- High severity. CVSS v3 base score is 7.5 out of 10.