PT-2025-44209 · Starlette+1 · Starlette+1

CVE-2025-62727

·

Published

2025-10-28

·

Updated

2026-07-21

CVSS v3.1

7.5

High

VectorAV: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.

Exploit

Fix

DoS

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CLEANSTART-2026-AZ09261
CLEANSTART-2026-HP19968
CLEANSTART-2026-IR98353
CLEANSTART-2026-MR94452
CLEANSTART-2026-NL78203
CLEANSTART-2026-WQ85001
CLEANSTART-2026-WU03167
CVE-2025-62727
ECHO-FC38-DA22-1AFB
GHSA-7F5H-V6XP-FCQ8
OPENSUSE-SU-2025:15696-1
OPENSUSE-SU-2026:10109-1
OPENSUSE-SU-2026:20975-1
PYSEC-2026-1942
SUSE-SU-2026:22151-1

Affected Products

Debian
Starlette