CVE-2026-42561
Description
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.
How to fix
- python-multipart0.0.27 or later
- access.redhat.com/errata/RHSA-2026:42132
- access.redhat.com/errata/RHSA-2026:42142
- access.redhat.com/errata/RHSA-2026:43038
- access.redhat.com/errata/RHSA-2026:37275
- access.redhat.com/errata/RHSA-2026:44696
- access.redhat.com/errata/RHSA-2026:51357
- access.redhat.com/errata/RHSA-2026:51194
- access.redhat.com/errata/RHSA-2026:51219
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python-multipartPyPI | v < 0.0.27 | 0.0.27 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.