CVE-2025-62727
Starlette vulnerable to O(n^2) DoS via Range header merging in starlette.responses.FileResponse
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.800% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.5 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:57:44.518Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:44.518Z | CVE Program |
| epss | verified | 2026-11-19T16:04:41.864Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:17.341Z | OSV |
| affected | verified | 2026-11-19T12:57:44.518Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:44.518Z | CVE Program |
Affected versions and configuration
Kludex starlette; default status: unknown: >= 0.39.0, < 0.49.1 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Kludex",
"product": "starlette",
"versions": [
{
"status": "affected",
"version": ">= 0.39.0, < 0.49.1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-62727",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-10-28T20:36:34.130234Z"
}
}
}
],
"references": [
{
"url": "https://github.com/Kludex/starlette/security/advisories/GHSA-7f5h-v6xp-fcq8",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-10-28T20:36:49.189Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-7f5h-v6xp-fcq8",
"aliases": [
"CVE-2025-62727",
"PYSEC-2026-1942"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.39.0"
},
{
"fixed": "0.49.1"
}
]
}
],
"package": {
"name": "starlette",
"purl": "pkg:pypi/starlette",
"ecosystem": "PyPI"
},
"versions": [
"0.39.0",
"0.39.1",
"0.39.2",
"0.40.0",
"0.41.0",
"0.41.1",
"0.41.2",
"0.41.3",
"0.42.0",
"0.43.0",
"0.44.0",
"0.45.0",
"0.45.1",
"0.45.2",
"0.45.3",
"0.46.0",
"0.46.1",
"0.46.2",
"0.47.0",
"0.47.1",
"0.47.2",
"0.47.3",
"0.48.0",
"0.49.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-7f5h-v6xp-fcq8/GHSA-7f5h-v6xp-fcq8.json",
"last_known_affected_version_range": "<= 0.49.0"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/Kludex/starlette/security/advisories/GHSA-7f5h-v6xp-fcq8",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-62727",
"type": "ADVISORY"
},
{
"url": "https://github.com/Kludex/starlette/commit/4ea6e22b489ec388d6004cfbca52dd5b147127c5",
"type": "WEB"
},
{
"url": "https://github.com/Kludex/starlette/commit/69ed26a85956ef4bd0161807eb27abf49be7cd3c",
"type": "WEB"
},
{
"url": "https://github.com/Kludex/starlette",
"type": "PACKAGE"
},
{
"url": "https://github.com/Kludex/starlette/releases/tag/0.49.1",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-400",
"CWE-407"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2025-10-28T21:15:40Z",
"github_reviewed_at": "2025-10-28T20:38:01Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2026-1942",
"aliases": [
"CVE-2025-62727",
"GHSA-7f5h-v6xp-fcq8"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.39.0"
},
{
"fixed": "0.49.1"
}
]
}
],
"package": {
"name": "starlette",
"purl": "pkg:pypi/starlette",
"ecosystem": "PyPI"
},
"versions": [
"0.39.0",
"0.39.1",
"0.39.2",
"0.40.0",
"0.41.0",
"0.41.1",
"0.41.2",
"0.41.3",
"0.42.0",
"0.43.0",
"0.44.0",
"0.45.0",
"0.45.1",
"0.45.2",
"0.45.3",
"0.46.0",
"0.46.1",
"0.46.2",
"0.47.0",
"0.47.1",
"0.47.2",
"0.47.3",
"0.48.0",
"0.49.0"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/starlette/PYSEC-2026-1942.yaml"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/Kludex/starlette/security/advisories/GHSA-7f5h-v6xp-fcq8",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-62727",
"type": "ADVISORY"
},
{
"url": "https://github.com/Kludex/starlette/commit/4ea6e22b489ec388d6004cfbca52dd5b147127c5",
"type": "FIX"
},
{
"url": "https://github.com/Kludex/starlette/commit/69ed26a85956ef4bd0161807eb27abf49be7cd3c",
"type": "INTRODUCED"
},
{
"url": "https://github.com/Kludex/starlette",
"type": "PACKAGE"
},
{
"url": "https://github.com/Kludex/starlette/releases/tag/0.49.1",
"type": "WEB"
},
{
"url": "https://pypi.org/project/starlette",
"type": "PACKAGE"
},
{
"url": "https://github.com/advisories/GHSA-7f5h-v6xp-fcq8",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | starlette | Not a distribution channel | 0.49.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:17.341ZArchived source JSON
Source publication: 2025-10-28T20:38:01.000Z
Source modification: 2026-09-10T03:50:29.490ZDocument fingerprint
2cbcd79bc31e3d3fb503384aa9bb8d1505aaadeb3f728164e635b09979c8b535 - OSVConsulted: 2026-11-19T12:52:17.341ZArchived source JSON
Source publication: 2026-07-07T16:03:08.430Z
Source modification: 2026-07-07T17:47:58.859ZDocument fingerprint
2cbcd79bc31e3d3fb503384aa9bb8d1505aaadeb3f728164e635b09979c8b535 - CVE ProgramConsulted: 2026-11-19T12:57:44.518ZArchived source JSON
Source publication: 2025-10-28T20:14:53.655Z
Source modification: 2025-11-04T17:41:42.316ZDocument fingerprint
57873b2e9aef78b8aec7b9c4c3c76efd2dfe218ae8ad71cef8959c1c3dbfec81 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:41.864ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
09df03f9e4ac0890671b481adc15352105826dd59b4f13294f3708bead65ab2a
Official status history
- UNKNOWN → PUBLISHED · · evidence