CVE-2025-62727CWE-407

CVE-2025-62727

High · published October 29, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
56.1
In the wild
Unconfirmed
What it is

⚡ An unauthenticated attacker can trigger CPU exhaustion with just a crafted HTTP Range header! Talk about a sneaky way to bring your file-serving endpoints to their knees. 🔥 Think of it like a restaurant that starts serving an endless buffet but has a kitchen that can only handle a few orders at a time. As more people crowd in, the kitchen gets swamped, and soon, no one gets fed! This vulnerability could lead to denial-of-service, meaning your file endpoints could crash under pressure, leaving users frustrated and unable to access files. Imagine your site going dark just because a clever attacker sent a single request – absolutely devastating!

Put simply

Think of it like a restaurant that starts serving an endless buffet but has a kitchen that can only handle a few orders at a time. As more people crowd in, the kitchen gets swamped, and soon, no one gets fed! CVE-2025-62727 allows attackers to exploit quadratic-time processing in Starlette’s FileResponse due to a crafted HTTP Range header, causing CPU exhaustion with each request. This affects versions from 0.39.0 up to 0.49.1, resulting in a potential denial-of-service situation.

What to do

This vulnerability could lead to denial-of-service, meaning your file endpoints could crash under pressure, leaving users frustrated and unable to access files. Imagine your site going dark just because a clever attacker sent a single request – absolutely devastating! To protect your application, upgrade Starlette to version 0.49.1 or later immediately. Also, consider implementing rate limiting on your endpoints to mitigate unwanted traffic spikes in the future! You've got this! With these steps, you'll keep your app running smoothly and maintain that hero status! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00800 · 56.1th percentile
Weakness
CWE-407 · Inefficient Algorithmic Complexity
Published
2025-10-29T01:15Z
References (5)
EPSS history
Timeline
  • 28 OCT 20:14Z
    Starlette vulnerable to O(n^2) DoS via Range header merging in starlette.responses.FileResponse
    cvelistv5