PT-2026-49572 · Pypi · Python-Multipart

·

CVE-2026-53540

·

Published

2026-06-15

·

Updated

2026-07-21

CVSS v3.1

3.7

Low

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions Python-Multipart versions prior to 0.0.31
Description The parse form() function fails to validate the Content-Length header before using it to limit the chunked read of the request body. Because the header value is parsed as an integer without a sign check, a negative Content-Length (such as -1) causes the input stream.read() operation to read until the end of the stream (EOF). This results in the entire request body being loaded into memory in a single unbounded read instead of fixed-size chunks, which can degrade system availability under concurrent requests.
Recommendations Update to version 0.0.31 or later.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CLEANSTART-2026-EH47852
CLEANSTART-2026-GN02455
CVE-2026-53540
ECHO-F040-8B65-1CC0
GHSA-V9PG-7XVM-68HF
OPENSUSE-SU-2026:11099-1
OPENSUSE-SU-2026:21066-1
PYSEC-2026-3040
SUSE-SU-2026:22372-1

Affected Products

Python-Multipart