Vulnerability · Published Mar 12, 2026 · Assigned by GitHub_M
CVE-2026-28356ReDoS in multipart 1.3.0 - `parse_options_header()`
High 7.5
In plain English
A high-severity regular-expression denial of service in multipart from defnull. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
multipart is a fast multipart/form-data parser for python. Prior to 1.2.2, 1.3.1 and 1.4.0-dev, the parse_options_header() function in multipart.py uses a regular expression with an ambiguous alternation, which can cause exponential backtracking (ReDoS) when parsing maliciously crafted HTTP or multipart segment headers. This can be abused for denial of service (DoS) attacks against web applications using this library to parse request headers or multipart/form-data streams. The issue is fixed in 1.2.2, 1.3.1 and 1.4.0-dev.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | multipart | 1.2.1-2+deb13u1 | DEBIAN-CVE-2026-28356 |
| Debian:13 | multipart | 1.2.1-2+deb13u1 | DSA-6161-1 |
| Debian:14 | multipart | 1.3.1-1 | DEBIAN-CVE-2026-28356 |
| PyPI | multipart | 1.3.1 | GHSA-p2m9-wcp5-6qw3 |
| PyPI | multipart | 1.2.2 | GHSA-p2m9-wcp5-6qw3 |
| PyPI | multipart | 1.2.2, 1.3.1 | PYSEC-2026-2670 |
| Ubuntu:25.10 | multipart | 1.2.1-2+deb13u1build0.25.10.1 | UBUNTU-CVE-2026-28356 |
| Ubuntu:26.04:LTS | multipart | 1.3.0-3ubuntu0.1 | UBUNTU-CVE-2026-28356 |
Affected products (as reported)
Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/defnull/multipart/security/advisories/GHSA-p2m9-wcp5-6qw3 x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2026-28356 vdb-entry, x_refsource_REDHAT
- RHBZ#2447059 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28356.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:6761 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:5809 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6762 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:10184 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42644 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37275 vendor-advisory, x_refsource_REDHAT