PT-2025-44209

CVE-2025-62727

·

Published

2025-10-28

·

Updated

2026-09-18

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Starlette versions 0.39.0 through 0.49.0
Description Starlette is a lightweight ASGI framework/toolkit. 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, such as StaticFiles or any use of FileResponse. The parsing loop of FileResponse. parse range header() uses a regular expression that is vulnerable to denial of service due to its O(n^2) complexity. A crafted Range header can maximize this complexity. The merge loop processes each input range by scanning the entire result list, resulting in quadratic behavior with many disjoint ranges. This affects any Starlette application that uses starlette.staticfiles.StaticFiles or direct starlette.responses.FileResponse responses.
Recommendations Versions prior to 0.49.1 are affected.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-7F5H-V6XP-FCQ8
CLEANSTART-2026-AZ09261
CLEANSTART-2026-DA26043
CLEANSTART-2026-HP19968
CLEANSTART-2026-IR98353
CLEANSTART-2026-MR94452
CLEANSTART-2026-NL78203
CLEANSTART-2026-WQ85001
CLEANSTART-2026-WU03167
ECHO-FC38-DA22-1AFB
OPENSUSE-SU-2025:15696-1
OPENSUSE-SU-2026:10109-1
OPENSUSE-SU-2026:20975-1
PYSEC-2026-1942
SUSE-SU-2026:22151-1
Found an issue in the description? Have something to add? Feel free to write us 👾