CVE-2026-53540
Published:June 22, 2026
Updated:June 29, 2026
Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.31, parse_form() did not validate the Content-Length header before using it to bound its chunked read of the request body. A negative Content-Length turned the bounded read into a read-until-EOF, so the entire body was loaded into memory in a single read instead of in fixed-size chunks. This vulnerability is fixed in 0.0.31.
Affected Packages
python-multipart (CONDA):
Affected version(s) >=0.0.5 <0.0.31Fix Suggestion:
Update to version 0.0.31python-multipart (CONDA):
Affected version(s) >=0.0.5 <0.0.31Fix Suggestion:
Update to version 0.0.31python-multipart (PYTHON):
Affected version(s) >=0.0.1 <0.0.31Fix Suggestion:
Update to version 0.0.31Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Improper Validation of Specified Quantity in Input
EPSS
Base Score:
0.22