CVE-2026-42561
Python-Multipart: Denial of Service via unbounded multipart part headers
- State
- Published
- Severity
- 7.5 High
- Published
- May 13, 2026
- Updated
- Aug 7, 2026
- Reserved
- Apr 28, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
python-multipartKludex |
|
References
- https://github.com/Kludex/python-multipart/security/advisories/GHSA-pp6c-gr5w-3c5g
- https://access.redhat.com/security/cve/CVE-2026-42561vdb-entry
- RHBZ#2477309issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42561.json
- https://access.redhat.com/errata/RHSA-2026:42132vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42142vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:43038vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:37275vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:44696vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:51357vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:51194vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:51219vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.