CVE-2025-62727: Starlette vulnerable to O(n^2) DoS via Range header merging in starlette.responses.FileResponse
Vulnerability summary
CVE-2025-62727 is a high (CVSS 7.5) Inefficient Algorithmic Complexity vulnerability in kludex starlette. EPSS estimates a 0.80% chance of exploitation in the next 30 days, higher than 57.9% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 6Timeline
- 28-10-2025PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.80%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.80% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard20 products
- airflow-3< 3.2.0-r0
- airflow-3-bitnami-compatAll versions (No fix recorded)
- airflow-core-3< 3.2.0-r2
- k8s-sidecar< 2.0.3-r0
- kserve< 0.15.2-r6 | < 0.16.0-r5
Wolfi18 products
- airflow-3< 3.2.0-r0
- airflow-3-bitnami-compatAll versions (No fix recorded)
- k8s-sidecar< 2.0.3-r0
- kserve< 0.15.2-r6 | < 0.16.0-r5
- kserve-agent< 0.16.0-r5
Opensuse2 products
- python-sse-starlette&distro=openSUSE Tumbleweed< 3.2.0-1.1
- python-starlette&distro=openSUSE Tumbleweed< 0.49.1-1.1
Debian1 product
- starlette< 0.46.1-3+deb13u1 | < 0.50.0-1
Kludex1 product
- starlette≥ 0.39.0, < 0.49.1
PyPI1 product
- starlette≥ 0.39.0, < 0.49.1
Ubuntu1 product
- starletteAll versions (No fix recorded)
7 vendors · 44 products
References
13 links- github.com/Kludex/starlette/security/advisories/GHSA-7f5h-v6xp-fcq8X Refsource CONFIRMWEBREPORTAdvisory
- github.com/Kludex/starlette/commit/4ea6e22b489ec388d6004cfbca52dd5b147127c5X Refsource MISCWEBFIXREPORT
- github.com/Kludex/starlette/commit/69ed26a85956ef4bd0161807eb27abf49be7cd3cX Refsource MISCWEBINTRODUCEDFIX
- github.com/Kludex/starlettePACKAGE
- pypi.org/project/starlettePACKAGE