Vulnerability
CVE-2026-53540
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.
25 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-3382-rhvh-9f79
- CGA-45c4-m7hj-cff8
- CGA-4rm4-578x-gcjv
- CGA-5xqq-pgjh-f7wf
- CGA-6h28-fxf7-r394
- CGA-6qw2-g8wv-hf2p
- CGA-7hqh-c5m9-rjqg
- CGA-7j8q-c5cf-jx67
- CGA-7rcc-4c57-73c9
- CGA-84gq-x7q6-75w4
- CGA-grwp-xh58-w2cj
- CGA-pgcr-w66r-q392
- CGA-phr5-wc2v-hgrf
- CGA-pv94-g4hj-8r8x
- CGA-q58q-7h6w-c2mp
- CGA-qc86-xv3f-2ff4
- CGA-vjvg-8p7v-6q95
- CGA-wqrf-m69v-8vhr
-
DEBIAN-CVE-2026-53540
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…
-
GHSA-v9pg-7xvm-68hf
python-multipart: Negative Content-Length in parse_form buffers the entire body in memory
-
PYSEC-2026-3040
python-multipart: Negative Content-Length in parse_form buffers the entire body in memory
-
SUSE-SU-2026:22372-1
Security update for python-python-multipart
-
UBUNTU-CVE-2026-53540
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…
-
openSUSE-SU-2026:11099-1
python311-python-multipart-0.0.32-1.1 on GA media
-
openSUSE-SU-2026:21066-1
Security update for python-python-multipart