High severity · published Jun 22, 2026
CVE-2026-53539
Python-Multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
7.5
CVSS
0.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PY
python-multipart · Kludex
< 0.0.30 · source: vendor, NVD
Affected product
PY
python-multipart
Kludex
More from python-multipart
7.5
CVE-2026-42561
Python-Multipart: Denial of Service via unbounded multipart part headers
5.3
CVE-2026-53537
Python-Multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters
5.3
CVE-2026-40347
Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data
3.7
CVE-2026-53540
Python-Multipart: Negative Content-Length in parse_form buffers the entire body in memory
3.7
CVE-2026-53538
Python-Multipart: Semicolon treated as querystring field separator enables parameter smuggling