CVEfocus › CVE database › CVE-2025-62727

CVE-2025-62727Starlette vulnerable to O(n^2) DoS via Range header merging in…

CVSS 7.5 HighEPSS 1.0% (higher than 63% of CVEs)Published 2025-10-28Updated 2025-11-04Assigner: GitHub_M

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.

CWE-407

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
1Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10starletteFix pendingUBUNTU-CVE-2025-62727
Ubuntu 26.04starletteUnder investigationUBUNTU-CVE-2025-62727
Ubuntu 25.10starletteWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-62727
Ubuntu 24.04starletteUnder investigationUBUNTU-CVE-2025-62727
Ubuntu 22.04starletteUnder investigationUBUNTU-CVE-2025-62727
Debian 14starletteFixed0.50.0-1DEBIAN-CVE-2025-62727
Debian 13starletteFixed0.46.1-3+deb13u1DEBIAN-CVE-2025-62727
PyPI librarystarletteFixed0.49.1PYSEC-2026-1942

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.