CVE-2026-53540
CWE-1284Published: June 22, 2026· Updated: Jun 26, 2026
Official 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.
Technical Analysis
CVE-2026-53540 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (1)
Quick Facts
Related CVEs (CWE-1284)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-53540 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts