| Name | CVE-2025-62727 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1119662 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| starlette (PTS) | bullseye | 0.14.1-1 | fixed |
| bookworm | 0.26.1-1 | fixed | |
| bookworm (security) | 0.26.1-1+deb12u1 | fixed | |
| trixie | 0.46.1-3+deb13u1 | fixed | |
| trixie (security) | 0.46.1-3+deb13u2 | fixed | |
| forky, sid | 1.1.0-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| starlette | source | bullseye | (not affected) | |||
| starlette | source | bookworm | (not affected) | |||
| starlette | source | trixie | 0.46.1-3+deb13u1 | |||
| starlette | source | (unstable) | 0.50.0-1 | 1119662 |
[bookworm] - starlette <not-affected> (Vulnerable code not present)
[bullseye] - starlette <not-affected> (Vulnerable code not present)
https://github.com/Kludex/starlette/security/advisories/GHSA-7f5h-v6xp-fcq8
Introduced with: https://github.com/Kludex/starlette/commit/69ed26a85956ef4bd0161807eb27abf49be7cd3c (0.39.0)
Fixed by: https://github.com/Kludex/starlette/commit/4ea6e22b489ec388d6004cfbca52dd5b147127c5 (0.49.1)