CVE-2025-62727

published 28 Oct 2025 · updated 4 Nov 2025

Starlette vulnerable to O(n^2) DoS via Range header merging in starlette.responses.FileResponse

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
KludexStarlette>=0.39.0 <0.49.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Starlette, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-62727 severity on Zeptric[![CVE-2025-62727](https://zeptric.io/badge/cve/CVE-2025-62727.svg)](https://zeptric.io/cve/CVE-2025-62727)