Vulnerability Description
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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Fastapiexpert | Python-Multipart | < 0.0.31 |
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-53540?
CVE-2026-53540 is a vulnerability with a CVSS score of 3.7 (LOW). 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 n...
How severe is CVE-2026-53540?
CVE-2026-53540 has been rated LOW with a CVSS base score of 3.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-53540?
Check the references section above for vendor advisories and patch information. Affected products include: Fastapiexpert Python-Multipart.