CVE-2026-53539
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
python-multipartPyPI | < 0.0.30 | 0.0.30 |
Affected products
12- Range: < 0.0.30
- cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*Range: <0.0.30
- osv-coords10 versionspkg:apk/chainguard/airflow-3pkg:apk/chainguard/airflow-core-3pkg:apk/chainguard/airflow-postgres-fips-3pkg:apk/chainguard/litellmpkg:apk/chainguard/tritonserver-backend-vllm-cuda-12.9pkg:apk/chainguard/wazuh-manager-frameworkpkg:apk/chainguard/wazuh-manager-framework-fipspkg:apk/wolfi/airflow-3pkg:pypi/python-multipartpkg:rpm/opensuse/python-python-multipart&distro=openSUSE%20Leap%2016.0
< 3.2.2-r7+ 9 more
- (no CPE)range: < 3.2.2-r7
- (no CPE)range: < 3.2.2-r3
- (no CPE)range: < 3.2.2-r1
- (no CPE)range: < 1.89.0-r2
- (no CPE)range: < 25.9.0_git20260617-r0
- (no CPE)range: < 4.14.5-r4
- (no CPE)range: < 4.14.5-r4
- (no CPE)range: < 3.2.2-r7
- (no CPE)range: < 0.0.30
- (no CPE)range: < 0.0.20-160000.5.1
Patches
Vulnerability mechanics
References
2- github.com/Kludex/python-multipart/security/advisories/GHSA-5rvq-cxj2-64vfnvdVendor AdvisoryWEB
- github.com/advisories/GHSA-5rvq-cxj2-64vfghsaADVISORY
News mentions
0No linked articles in our index yet.