CVE-2026-52132: llama.cpp - Denial of Service
- Cve: CVE-2026-52132
- Name: llama.cpp - Denial of Service
- 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.
- Impact: Remote attackers can cause a denial of service by crashing the application, leading to service unavailability.
- Remediation: Update to a version after commit 97f06e9 or the latest available version.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00588
- Epss percentile: 0.4881
- Assignee: [email protected]
- Published at: 2026-09-01T18:17:43Z
- Age in days: 84
- Modified at: 2026-09-04T20:15:30Z
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-52132
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-674 | Uncontrolled Recursion |
References
| Url | Source | Tags |
|---|---|---|
| https://blog.ph4nt0m.xyz/ko/cves/cve-2026-52132/ | nvd | Third Party Advisory |
| https://github.com/ggml-org/llama.cpp | nvd | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ggml:llama.cpp | <= 0.4.0 | no | nvd | /v1/products/ggml/llama.cpp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts