CVE-2025-54121

starlette: Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework/toolkit, designed for building asyn...

CVE-2025-54121 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2025-54121, released July 21, 2025. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.3
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0066
51st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
python-starlette · opensuse-leap 15.6 0.35.1-150600.3.6.1 SUSE-SU-2025:02544-1 Jul 29, 2025
python-starlette · opensuse-leap 16.0 0.41.3-160000.3.1 OPENSUSE-SU-2026:20975-1 Jun 17, 2026
python-starlette · sles 16.0 0.41.3-160000.3.1 SUSE-SU-2026:22151-1 Jun 17, 2026
starlette · Debian 12.15 (bookworm) 0.26.1-1+deb12u1 DEBIAN-CVE-2025-54121 Jul 21, 2025
starlette · Debian 13.5 (trixie) 0.46.1-3 DEBIAN-CVE-2025-54121 Jul 21, 2025
starlette · Debian 14 0.46.1-3 DEBIAN-CVE-2025-54121 Jul 21, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.