CVE 7.5 HIGH

Starlette vulnerable to O(n^2) DoS via Range header merging in starlette.responses.FileResponse_CVE-2025-62727

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

Starlette is a lightweight ASGI framework/toolkit. Prior to 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.

Basic Information

ID CVE-2025-62727
Source GitHub_M
Published Oct 28, 2025 at 20:14
Modified Oct 28, 2025 at 20:36

Affected Product

Vendor Kludex
Product starlette
Version < 0.49.1
Affected Versions Kludex starlette < 0.49.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.