Starlette has possible denial-of-service vector when parsing large files in multipart forms
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| encode | starlette | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Encode | Starlette | — |
| Source | ID | Title |
|---|---|---|
Debian DSA |
DSA-6302-1 | starlette security update |
EUVD |
EUVD-2025-22159 | Starlette has possible denial-of-service vector when parsing large files in multipart forms |
Github GHSA |
GHSA-2c2j-9gv5-cj73 | Starlette has possible denial-of-service vector when parsing large files in multipart forms |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.660% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Encode
Encode starlette |
|
| Vendors & Products |
Encode
Encode starlette |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Starlette has possible denial-of-service vector when parsing large files in multipart forms | |
| Weaknesses | CWE-770 | |
| References |
|
|
| Metrics |
cvssV3_1
|