Skip to main content
CVE-2025-62727VulnerabilityPublished Updated

CVE-2025-62727: Kludex starlette · Inefficient Algorithmic Complexity

Affects Kludex starletteSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 0.49.1 soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.49.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade Kludex starlette to 0.49.1.

Affected software

ProductAffectedFixed in
PyPIstarlettepkg:pypi/starletteOther threatsAffected
  • >=0.39.0 <0.49.1
Fixed in
  • 0.49.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Upgrade all Starlette deployments to version 0.49.1 or later immediately to apply the fix that optimizes Range header processing and eliminates the quadratic-time complexity. 2. Implement strict rate limiting on HTTP requests targeting file-serving endpoints to reduce the risk of CPU exhaustion from malicious Range headers. 3. Monitor web server and application logs for abnormal or excessive Range header usage patterns indicative of exploitation attempts. 4. Use Web Application Firewalls (WAFs) or reverse proxies capable of detecting and blocking suspicious Range headers or malformed requests. 5. Conduct regular security audits and penetration testing focused on file-serving endpoints to identify potential exploitation vectors. 6. Consider disabling support for HTTP Range headers on endpoints where partial content delivery is not required. 7. Educate development and operations teams about this vulnerability and ensure patch management processes prioritize such high-severity issues. 8. In environments where immediate upgrade is not feasible, deploy mitigations such as CPU usage limits per request or container resource constraints to limit impact.

Description

Starlette is a lightweight ASGI framework/toolkit. Starting in version 0.39.0 and prior to version 0.49.1 , an unauthenticated attacker can send a crafted HTTP Range header that triggers quadratic-time processing in Starlette's FileResponse Range parsing/merging logic. This enables CPU exhaustion per request, causing denial‑of‑service for endpoints serving files (e.g., StaticFiles or any use of FileResponse). This vulnerability is fixed in 0.49.1.

References

Community reviews

Loading reviews…