CVE-2025-62727Kludex starlette
High 7.5 No auth needed
Follow: this CVE · Kludex · Kludex starlette We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 28, 2025
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-407
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for starlette.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | starlette |
≥ 0.39.0 < 0.49.1 |
0.49.1 |
pip install "starlette>=0.49.1" |
| PyPI | starlette |
≥ 0.39.0 < 0.49.1 |
0.49.1 |
pip install "starlette>=0.49.1" |
Per OSV / GitHub Advisories (GHSA-7f5h-v6xp-fcq8, PYSEC-2026-1942). Check the version in your lockfile before upgrading.
Affected products
- Kludex · starlette
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for python-starlette · SUSE · SUSE-SU-2026:22151-1 · Jun 17, 2026 High
- Security update for python-starlette · SUSE · openSUSE-SU-2026:20975-1 · Jun 17, 2026 High
- python311-sse-starlette-3.2.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10109-1 · Jan 28, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.