Vulnerability
CVE-2026-53539
Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, when parsing application/x-www-form-urlencoded bodies, QuerystringParser located the field separator with a two step lookup: it first scanned the entire remaining buffer for &, and only when no & existed anywhere ahead did it fall back to scanning for ;. For a body that uses ; as the separator and contains no &, every field iteration performed a full failed & scan over the entire remaining buffer before locating the nearby ;. With N semicolon separated fields in a chunk of size B, this yields O(B^2) byte comparisons per chunk. An attacker can submit a small crafted body of the form a;a;a;... and cause the parser to spend seconds of CPU per request. A handful of concurrent requests can exhaust worker processes. This vulnerability is fixed in 0.0.30.
23 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-353f-gh8h-x6c3
- CGA-89rq-345h-c2vr
- CGA-8c37-xqx5-cxh8
- CGA-cr4p-x6rw-pm9h
- CGA-cv6g-36q8-rc5c
- CGA-cwh3-pvrm-r4xv
- CGA-f5xw-rgp9-j3gm
- CGA-fhmr-jjwv-547q
- CGA-hphf-q7rp-qh2m
- CGA-mpc5-g544-9qxq
- CGA-p9mm-4mpp-hm22
- CGA-r4qh-733j-2cm8
- CGA-rw4f-xcw3-v64p
- CGA-v6ff-grmp-f278
- CGA-v95v-7gcm-frvq
- CGA-wghp-26xv-hr33
- CGA-ww47-579g-c375
-
DEBIAN-CVE-2026-53539
Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, when parsing application/x-www-form-urlencoded bodies, QuerystringParser located the field separator with a two step lookup: it first scanned…
-
GHSA-5rvq-cxj2-64vf
python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
-
PYSEC-2026-3036
python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
-
SUSE-SU-2026:22372-1
Security update for python-python-multipart
-
UBUNTU-CVE-2026-53539
Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, when parsing application/x-www-form-urlencoded bodies, QuerystringParser located the field separator with a two step lookup: it first scanned…
-
openSUSE-SU-2026:21066-1
Security update for python-python-multipart