Vulnerability
CVE-2026-42561
Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.27, python-multipart has a denial of service vulnerability in multipart part header parsing. When parsing multipart/form-data, MultipartParser previously had no limit on the number of part headers or the size of an individual part header. An attacker could send a request with either many repeated headers without terminating the header block or a single very large header value, causing excessive CPU work before request rejection or completion. This vulnerability is fixed in 0.0.27.
30 advisories report this vulnerability, across 7 ecosystems.
Advisories in Chainguard
- CGA-34x6-6whp-4p2q
- CGA-3p9f-8r76-xh8p
- CGA-3rg9-gg36-fffg
- CGA-3vmm-69xc-35x5
- CGA-5952-rfqw-2whm
- CGA-62mr-8wpw-66vf
- CGA-63jp-84fp-2vg2
- CGA-65pc-32q9-wpgc
- CGA-76q2-6vcf-hm3p
- CGA-84wv-5975-j655
- CGA-c2m3-4936-5qmm
- CGA-fj84-cgwj-x9qr
- CGA-gxp4-fc72-h4wm
- CGA-h499-8346-xhhc
- CGA-h96f-fphj-w2hq
- CGA-hqjw-qq2m-748w
- CGA-m4gx-364w-c76c
- CGA-ppmp-vcwc-qpwg
- CGA-q2f4-8rwv-852g
- CGA-rhwx-9vcj-962w
- CGA-rjh8-28hf-4jr6
- CGA-rpvw-phjp-c6rh
- CGA-w53g-q5h3-886h
- CGA-xw5q-3r26-45qf
References
- https://github.com/Kludex/python-multipart/security/advisories/GHSA-pp6c-gr5w-3c5g
- https://access.redhat.com/errata/RHSA-2026:37275
- https://access.redhat.com/errata/RHSA-2026:42132
- https://access.redhat.com/errata/RHSA-2026:42142
- https://access.redhat.com/errata/RHSA-2026:43038
- https://access.redhat.com/errata/RHSA-2026:44696
- https://access.redhat.com/errata/RHSA-2026:51194
- https://access.redhat.com/errata/RHSA-2026:51219
- https://access.redhat.com/errata/RHSA-2026:51357
- https://access.redhat.com/security/cve/CVE-2026-42561
- https://bugzilla.redhat.com/show_bug.cgi?id=2477309
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42561.json