cve.bz

CVE-2025-62727 kludex starlette: Inefficient Algorithmic Complexity

7.5 highEPSS 0.8%Fix available

High (7.5) in kludex starlette. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in starlette 0.49.1.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-10-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-62727 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-62727?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-62727?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-62727 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Kludex starlette>= 0.39.0, < 0.49.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7f5h-v6xp-fcq8PyPIstarlette>=0.39.0 <0.49.10.49.1
PYSEC-2026-1942PyPIstarlette>=0.39.0 <0.49.10.49.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13starlette0.46.1-3+deb13u1DEBIAN-CVE-2025-62727
Debian14starlette0.50.0-1DEBIAN-CVE-2025-62727
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morestarletteno fix listedUBUNTU-CVE-2025-62727
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-starlette0.41.3-160000.3.1SUSE-SU-2026:22151-1
openSUSELeap 16.0python-starlette0.41.3-160000.3.1openSUSE-SU-2026:20975-1
openSUSETumbleweedpython-sse-starlette3.2.0-1.1openSUSE-SU-2026:10109-1
openSUSETumbleweedpython-starlette0.49.1-1.1openSUSE-SU-2025:15696-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

An IMPORTANT severity denial-of-service vulnerability was found in the Python Starlette ASGI framework, which is bundled with or used by a wide range of Red Hat offerings, including Red Hat Ansible Automation Platform, Red Hat OpenShift AI, Red Hat Enterprise Linux AI, Red Hat Satellite, Red Hat OpenShift distributed tracing, and Red Hat AI Inference Server. An unauthenticated remote attacker can send a crafted HTTP Range header that triggers quadratic-time processing in Starlette's FileResponse Range header parsing and merging logic. Each such request causes CPU exhaustion, resulting in a denial of service for applications that serve files, such as those using Starlette's StaticFiles or FileResponse. The Red Hat impact rating of IMPORTANT (CVSS 3.1 score of 7.5) matches the upstream severity. Because this flaw is handled through delegated resolution, fixes are being pursued by the individual affected product teams.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:3.2.2-1765379088Fixed 2025-12-10RHSA-2025:23078
Red Hat AI Inference Server 3.2rhaiis/vllm-rocm-rhel9:3.2.2-1765379049Fixed 2025-12-10RHSA-2025:23079
Red Hat AI Inference Server 3.2rhaiis/model-opt-cuda-rhel9:3.2.2-1764871796Fixed 2025-12-10RHSA-2025:23080
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:1772160593Fixed 2026-02-27RHSA-2026:3461
Red Hat AI Inference Server 3.2rhaiis/vllm-rocm-rhel9:1772160625Fixed 2026-02-27RHSA-2026:3462
Red Hat Ansible Automation Platform 2.5ansible-automation-platform-25/lightspeed-chatbot-rhel8:2.5.251203Fixed 2025-12-11RHSA-2025:23131
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/lightspeed-chatbot-rhel9:2.6Fixed 2025-12-11RHSA-2025:23133
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/mcp-tools-rhel9:2.6Fixed 2025-12-11RHSA-2025:23133
Red Hat OpenShift AI 2.22rhoai/odh-feature-server-rhel9:v2.22.3-1763565765Fixed 2025-12-04RHSA-2025:22759
Red Hat OpenShift AI 2.25rhoai/odh-built-in-detector-rhel9:v2.25.1-1764757773Fixed 2025-12-17RHSA-2025:23531
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Affected
Red Hat AI Inference Serverrhaiis-preview/vllm-cuda-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-spyre-rhel9Will not fix
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-minimal-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-minimal-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-supported-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-supported-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel8Not affected
75 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-62727.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • ch4n3-yoon/CVE-2025-62727-Demo Harbor Check: matches CVE 1 star, created
    Proof of concept of CVE-2025-62727 that can cause denial-of-service in FastAPI (based Starlette <= 0.48.0)

References

Check your stackJSON