PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-52132 ggml CVE debrief

CVE-2026-52132 is a high-severity vulnerability in ggml's Llama.cpp, allowing remote attackers to cause a denial of service via a negative top_n value in a POST request to /rerank. The issue was published on 2026-09-01 and last modified on 2026-09-04. This vulnerability affects Llama.cpp deployments, particularly those exposed to the /rerank endpoint. Defenders managing these deployments should assess their exposure and prioritize mitigation to prevent potential denial-of-service impacts.

Vendor
ggml
Product
Llama.cpp
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-01
Original CVE updated
2026-09-04
Advisory published
2026-09-01
Advisory updated
2026-09-04

Who should care

Defenders managing Llama.cpp deployments, especially those exposed to the /rerank endpoint, should assess their exposure and prioritize mitigation.

Why it matters

CVE-2026-52132 is a high-severity vulnerability in ggml's Llama.cpp that allows remote attackers to cause a denial of service. Defenders managing Llama.cpp deployments should assess their exposure and prioritize mitigation.

  • Potential denial-of-service impact on Llama.cpp deployments
  • Need to verify and restrict input values for the top_n parameter
  • Possible update to the latest version of Llama.cpp

Technical summary

The vulnerability exists in llama.cpp through commit 97f06e9 when started with the --reranking flag. A remote attacker can cause a denial of service (std::bad_alloc and HTTP 500) via a negative top_n value in a POST request to /rerank. This issue is especially relevant for defenders managing Llama.cpp deployments, as they need to verify and restrict input values for the top_n parameter to mitigate potential denial-of-service attempts.

Defensive priority

Defenders should prioritize verifying and mitigating this vulnerability, especially those managing Llama.cpp deployments.

Recommended defensive actions

  • Verify Llama.cpp deployments for exposure to the /rerank endpoint
  • Restrict input values for the top_n parameter in POST requests to /rerank
  • Monitor for and respond to potential denial-of-service attempts
  • Update to the latest version of Llama.cpp if available

Evidence notes

The official CVE record and NVD detail page provide information on this vulnerability, including its CVSS score of 7.5 and potential denial-of-service impact.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-52132 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-52132

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-52132 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-52132

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.