5.3

CVE-2025-54121: encode starlette

CVSS: 5.3v3.1MediumDeferred
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.61% chance of exploitation in the next 30 days, higher than 48.4% of scored vulnerabilities.

Overall risk
21/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.61%
0%100%
Low · +0.06 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.61%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

+0.06 pp

From 0.56% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.61%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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