Fastmcp: Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse`` (CVE-2025-62727)
Affects fastmcpSource GCVE Database
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.42_1, 2.13.0.2_1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewkimi-clipkg:brew/kimi-cliOther threats | Affected
| Fixed in
|
Homebrewfastmcppkg:brew/fastmcpOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Red Hat advises monitoring their advisories for updates. Users should consult Red Hat Satellite documentation for integration guidance and consider limiting exposure of affected endpoints if possible. Customers with a Red Hat Technical Account Manager (TAM) can discuss this CVE directly for tailored advice. No specific mitigations are provided by Red Hat at this time.
Description
This adds the satellite/iop-advisor-engine-rhel9 image to the Red Hat container registry. To pull this container image, run the following command: podman pull registry.redhat.io/satellite/iop-advisor-engine-rhel9
Impact
The vulnerability allows an unauthenticated attacker to cause high CPU usage on affected systems by sending specially crafted HTTP Range headers, resulting in denial of service conditions for endpoints serving files. This can disrupt availability of services relying on the Starlette framework within Red Hat Satellite and related containerized components. There is no indication of confidentiality or integrity impact. No known exploits in the wild have been reported.
Summary
CVE-2025-62727 is a denial of service vulnerability in the python Starlette framework's FileResponse Range header parsing and merging logic. Specifically, an attacker can craft an HTTP Range header that causes quadratic-time processing, leading to excessive CPU consumption per request. This vulnerability impacts Red Hat Satellite container images such as satellite/iop-advisor-engine-rhel9 and related products that incorporate this component. Red Hat has published advisories (RHSA-2026:22993) describing the issue but has not provided an official fix or patch, citing lack of suitable mitigation options that meet their criteria for ease of use, applicability, and stability. The vulnerability is associated with multiple CWEs including inefficient algorithmic complexity (CWE-407) and others related to denial of service.
Weaknesses
- CWE-407Unclassified weakness (opens in a new tab)
- CWE-354Unclassified weakness (opens in a new tab)
- CWE-914Unclassified weakness (opens in a new tab)
- CWE-1289Unclassified weakness (opens in a new tab)
- CWE-770Allocation of Resources Without Limits (opens in a new tab)
- CWE-409Unclassified weakness (opens in a new tab)
- CWE-22Path Traversal (opens in a new tab)
- CWE-606Unclassified weakness (opens in a new tab)
- CWE-201Insertion of Sensitive Information into Sent Data (opens in a new tab)
- CWE-89SQL Injection (opens in a new tab)
References
- access.redhat.com/errata/RHSA-2026:22993 (opens in a new tab)
- access.redhat.com/documentation/en-us/red_hat_satellite/6.18/html/updating_red_hat_satellite/index (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-62727 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-26007 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-34444 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-48710 (opens in a new tab)
- access.redhat.com/security/updates/classification/ (opens in a new tab)
- catalog.redhat.com/software/containers/search (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_22993.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:44696 (opens in a new tab)
- access.redhat.com/documentation/en-us/red_hat_satellite/6.17/html/updating_red_hat_satellite/index (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-66418 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-66471 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-21441 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-24486 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-42561 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-44431 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-54283 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_44696.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:23133 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-64459 (opens in a new tab)
- docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6/html/release_notes/patch_releases (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_23133.json (opens in a new tab)
- github.com/Kludex/starlette/security/advisories/GHSA-7f5h-v6xp-fcq8 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-62727 (opens in a new tab)
- github.com/Kludex/starlette/commit/4ea6e22b489ec388d6004cfbca52dd5b147127c5 (opens in a new tab)
- github.com/Kludex/starlette/commit/69ed26a85956ef4bd0161807eb27abf49be7cd3c (opens in a new tab)
- github.com/Kludex/starlette (opens in a new tab)
- github.com/Kludex/starlette/releases/tag/0.49.1 (opens in a new tab)