Kludex Starlette
Starlette vulnerable to O(n^2) DoS via Range header merging in starlette.responses.FileResponse
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.39.0, < 0.49.1
Fixed in 0.49.1
Mitigation
Upgrade starlette to 0.49.1 or later.
References
- Vendor advisory github.com/Kludex/starlette/security/advisorie…
- Patch github.com/Kludex/starlette/commit/4ea6e22b489…
- Patch github.com/Kludex/starlette/commit/69ed26a8595…
1 more
- Release notes github.com/Kludex/starlette/releases/tag/0.49.…
Timeline
Days relative to CVE publicationFirst public PoC 17 h before publication; not in CISA KEV. First PoC: ch4n3-yoon/CVE-2025-62727-Demo (created 28 Oct 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ch4n3-yoon/CVE-2025-62727-Demo | 28 Oct 2025 −17 h | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.