CVE-2026-52132: n/a
Description
A denial of service vulnerability exists in llama.cpp through commit 97f06e9 when started with the --reranking flag. Remote attackers can trigger this by sending a POST request to /rerank with a negative top_n value, causing std::bad_alloc exceptions and HTTP 500 errors.
CVSS v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in llama.cpp (up to commit 97f06e9) occurs when the application is started with the --reranking flag. A remote attacker can send a specially crafted POST request to the /rerank endpoint with a negative top_n parameter value. This input leads to a denial of service condition by causing the application to throw a std::bad_alloc exception and respond with HTTP 500 errors. The CVSS v3.1 base score is 7.5, indicating a high severity denial of service vulnerability exploitable remotely without privileges or user interaction.
Potential Impact
The impact is a denial of service (DoS) condition that causes the application to crash or become unavailable, resulting in service disruption. There is no confidentiality or integrity impact reported. The vulnerability can be triggered remotely without authentication.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using the --reranking flag or restrict access to the /rerank endpoint to trusted users to mitigate exploitation risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-06-08T00:00:00.000Z
- State
- PUBLISHED
Threat ID: 6a970d62acd9273b49005a58
Added to database: 09/01/2026, 17:37:38 UTC
Last enriched: 09/17/2026, 02:48:49 UTC
Last updated: 10/15/2026, 18:48:21 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.