CVE-2026-53539
published 2026-06-22CVE-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…
PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.26%
17.6th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| fastapiexpert | python-multipart | < 0.0.30 | 0.0.30 |
| kludex | python-multipart | < 0.0.30 | 0.0.30 |
| kludex | python-multipart | >= 0 < 0.0.30 | 0.0.30 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
Kludex python-multipart up to 0.0.29 on Python resource consumption (GHSA-5rvq-cxj2-64vf)
vuldb·2026-06-22·CVSS 7.5
CVE-2026-53539 [HIGH] Kludex python-multipart up to 0.0.29 on Python resource consumption (GHSA-5rvq-cxj2-64vf)
A vulnerability was found in Kludex python-multipart up to 0.0.29 on Python and classified as problematic. Impacted is an unknown function. Such manipulation leads to resource consumption.
This vulnerability is referenced as CVE-2026-53539. It is possible to launch the attack remotely. No exploit is available.
It is suggested to upgrade the affected component.
GHSA
python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
ghsa·2026-06-15
CVE-2026-53539 [HIGH] CWE-400 python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
### Summary
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-06-22
Published