CVE-2026-52132: ggml llama.cpp Uncontrolled Recursion
Vulnerability summary
CVE-2026-52132 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in ggml llama.cpp. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 49% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 20-11-2026)
Source freshness unavailable
How is this decided?Timeline
- 01-09-2026PublishedVulnerability first disclosed.
- 02-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.59% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- llama.cppAll versions (No fix recorded)
Ggml1 product
- llama.cpp≤ 0.4.0
Opensuse1 product
- llamacpp&distro=openSUSE Tumbleweed< 0.4.0-1.1
Ubuntu1 product
- llama.cppAll versions (No fix recorded)
4 vendors · 4 products
References
6 links- blog.ph4nt0m.xyz/ko/cves/cve-2026-52132/Third Party Advisory