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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.49.1 (CNA); fix release not confirmed
- Status: published
- Published: 2025-10-28 · Modified: 2025-11-04
- Aliases: GHSA-7f5h-v6xp-fcq8, PYSEC-2026-1942, UBUNTU-CVE-2025-62727, DEBIAN-CVE-2025-62727, CGA-255p-776g-4j7p, CGA-2g2r-fqpx-g4gv, CGA-33h6-fp68-x342, CGA-474v-f785-r53f, CGA-4h7j-79w4-rxq5, CGA-4j5c-6w47-25jp, CGA-4v8g-5whq-278p, CGA-56r4-87cq-f33q, CGA-63fh-x273-2j2w, CGA-6j4m-qjx3-8fjq, CGA-6mxr-qm4q-h264, CGA-6w7w-869j-gf4j, CGA-6ww7-84gc-6cmr, CGA-75f7-5xwj-cc94, CGA-7xj4-mrpv-h6w4, CGA-83fp-r447-r74f, CGA-8g2m-3h8w-39v2, CGA-94g3-xpwm-5p54, CGA-9pxp-gpmg-4qhr, CGA-g2w6-ppg4-64mq, CGA-gf7p-jwqw-c2jx, CGA-gppg-pw3p-78c7, CGA-gqr7-6228-vq23, CGA-hm2f-5xvf-78xg, CGA-j745-w74x-2fx8, CGA-jmhg-xcf2-vw2m, CGA-m6hr-r47w-h762, CGA-mmgv-rw3v-ffjr, CGA-p8g7-r38f-9q29, CGA-pc45-4hqc-65ww, CGA-q3hq-954h-cj2m, CGA-q986-fw2r-mhjq, CGA-qvf3-xxx3-3wq5, CGA-qxfj-6q2p-73p7, CGA-r45f-vv59-fcc4, CGA-rv54-664m-4pg9, CGA-rvxq-jw5q-jxg2, CGA-rwh7-6rg8-3pmq, CGA-v65f-gfqg-gcxp, CGA-v685-jc55-rh6c, CGA-vvwh-g7rg-9rjc, CGA-w2w9-rrjg-9wmr, CGA-w83r-h5h9-q989, CGA-w844-59r2-fxx6, CGA-w9r7-w69v-wpf6, CGA-wpxp-c9hf-24rf, CGA-x6fc-qjm3-6fjc, CGA-xhph-7hj3-5h85, CGA-xx2p-xhf8-g8pq, openSUSE-SU-2025:15696-1, openSUSE-SU-2026:10109-1, CGA-h3fc-mh29-56mr, CGA-j49g-76cw-x7vg, CGA-pvp2-prxg-h948
- Record: https://cvemate.com/vulnerability/CVE-2025-62727 · JSON: https://cvemate.com/vulnerability/CVE-2025-62727/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.8%, percentile 57.904%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 44)

- chainguard airflow-3 (Chainguard): \< 3.2.0-r0
- chainguard airflow-3-bitnami-compat (Chainguard): All versions (No fix recorded)
- chainguard airflow-core-3 (Chainguard): \< 3.2.0-r2
- chainguard k8s-sidecar (Chainguard): \< 2.0.3-r0
- chainguard kserve (Chainguard): \< 0.15.2-r6 \| \< 0.16.0-r5
- chainguard kserve-agent (Chainguard): \< 0.16.0-r5
- chainguard kserve-agent-compat (Chainguard): \< 0.16.0-r5 \| \< 0.15.2-r6
- chainguard kserve-manager (Chainguard): \< 0.16.0-r5 \| \< 0.15.2-r6
- chainguard kserve-manager-compat (Chainguard): \< 0.15.2-r6 \| \< 0.16.0-r5
- chainguard kserve-qpext (Chainguard): \< 0.16.0-r5 \| \< 0.15.2-r6
- chainguard kserve-qpext-compat (Chainguard): \< 0.15.2-r6 \| \< 0.16.0-r5
- chainguard kserve-router (Chainguard): \< 0.16.0-r5 \| \< 0.15.2-r6
- chainguard kserve-router-compat (Chainguard): \< 0.16.0-r5 \| \< 0.15.2-r6
- chainguard kserve-storage-controller (Chainguard): \< 0.16.0-r5 \| \< 0.15.2-r6
- chainguard mlflow (Chainguard): \< 3.5.1-r1
- chainguard mlflow-iamguarded-compat (Chainguard): \< 3.5.1-r1
- chainguard nemo (Chainguard): \< 2.5.2-r1
- chainguard open-webui (Chainguard): \< 0.6.34-r2
- chainguard open-webui-compat (Chainguard): \< 0.6.34-r2
- chainguard reflex (Chainguard): \< 0.8.17-r0

## References

- <https://github.com/Kludex/starlette/security/advisories/GHSA-7f5h-v6xp-fcq8>
- <https://github.com/Kludex/starlette/commit/4ea6e22b489ec388d6004cfbca52dd5b147127c5>
- <https://github.com/Kludex/starlette/commit/69ed26a85956ef4bd0161807eb27abf49be7cd3c>
- <https://github.com/Kludex/starlette/releases/tag/0.49.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-62727>
- <https://github.com/Kludex/starlette>
- <https://pypi.org/project/starlette>
- <https://github.com/advisories/GHSA-7f5h-v6xp-fcq8>
- <https://ubuntu.com/security/CVE-2025-62727>
- <https://www.cve.org/CVERecord?id=CVE-2025-62727>
- <https://security-tracker.debian.org/tracker/CVE-2025-62727>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62727.json>
- <https://www.suse.com/security/cve/CVE-2025-62727>

---

Data as of 2026-12-05T05:33:10.941Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
