5.3

CVE-2025-54121: Starlette has possible denial-of-service vector when parsing large files in multipart forms

Deferred
AliasesGHSA-2c2j-9gv5-cj73PYSEC-2026-1941UBUNTU-CVE-2025-54121
Published 21-07-2025Last modified 22-07-2025

Vulnerability summary

CVE-2025-54121 is a medium (CVSS 5.3) vulnerability in encode starlette. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 52.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.66%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 7

Timeline

  1. 21-07-2025
    PublishedVulnerability first disclosed.
  2. 22-07-2025
    Last modifiedVulnerability information updated.

Description

Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework/toolkit, designed for building async web services in Python. In versions 0.47.1 and below, when parsing a multi-part form with large files (greater than the default max spool size) starlette will block the main thread to roll the file over to disk. This blocks the event thread which means the application can't accept new connections. The UploadFile code has a minor bug where instead of just checking for self._in_memory, the logic should also check if the additional bytes will cause a rollover. The vulnerability is fixed in version 0.47.2.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.66%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.66% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard24 products
  • airflow-3< 3.0.3-r3
  • airflow-3-bitnami-compat< 3.0.3-r3
  • airflow-3-compat< 3.0.3-r3
  • airflow-3-iamguarded-compat< 3.0.3-r3
  • airflow-core-3< 3.0.3-r2
Wolfi20 products
  • airflow-3< 3.0.3-r3
  • airflow-3-bitnami-compat< 3.0.3-r3
  • airflow-3-compat< 3.0.3-r3
  • airflow-3-iamguarded-compat< 3.0.3-r3
  • k8s-sidecar< 1.31.0-r1
Opensuse2 products
  • python-starlette&distro=openSUSE Leap 15.6< 0.35.1-150600.3.6.1
  • python-starlette&distro=openSUSE Tumbleweed< 0.47.2-1.1
Debian1 product
  • starlette< 0.26.1-1+deb12u1 | < 0.46.1-3
Encode1 product
PyPI1 product
  • starlette< 0.47.2
Ubuntu1 product
  • starletteAll versions (No fix recorded)

7 vendors · 50 products

References

15 links
Show all 15 references