Skip to main content

llama.cpp CVE-2026-52132

| EUVDEUVD-2026-69410 HIGH
Uncontrolled Recursion (CWE-674)
2026-09-01 mitre GHSA-rqxm-jx33-wrqr
7.5
CVSS 3.1 · Vendor: mitre
Share

Severity by source

Vendor (mitre) PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
7.5 HIGH

Network-reachable endpoint with no auth or interaction required; impact is availability only via crash; no scope change beyond the llama.cpp process.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
HIGH
qualitative

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
Metadata Corrected
Sep 02, 2026 - 14:40 vuln.today
tag: N A removed
Analysis Generated
Sep 02, 2026 - 14:23 vuln.today
CVSS changed
Sep 02, 2026 - 14:22 NVD
7.5 (HIGH)
CVE Published
Sep 01, 2026 - 00:00 cve.org
HIGH 7.5
CVE Published
Sep 01, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

AnalysisAI

Remote unauthenticated denial of service in llama.cpp (through commit 97f06e9) allows any network attacker to crash the inference server by submitting a POST request to the /rerank endpoint with a negative top_n value, triggering a std::bad_alloc exception and an HTTP 500 response. The attack surface is exclusively present when the server is started with the non-default --reranking flag. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Execution
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation The --reranking flag must be explicitly passed at llama.cpp server startup - this is a non-default operator choice. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 7.5 score (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately reflects the exploitability characteristics once the --reranking mode is active: a single crafted HTTP request, no authentication, no complexity barrier. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation No explicitly patched version or commit is confirmed in available data; operators should monitor the ggml-org/llama.cpp GitHub repository (https://github.com/ggml-org/llama.cpp) for a fix that adds bounds validation on the top_n parameter. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: identify all llama.cpp deployments in production and audit which ones are running with the --reranking flag enabled. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed

Share

CVE-2026-52132 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy