CVE-2026-28356
HIGH 7.5CVSS 3.1multipart vulnerable to ReDoS in `parse_options_header()`
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.
- Published
- 12 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1333
- Also known as
- GHSA-p2m9-wcp5-6qw3PYSEC-2026-2670
- Sources
- NVDJSONOSV GHSA-p2m9-wcp5-6qw3JSONOSV PYSEC-2026-2670JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | multipart | >= 1.3.0, < 1.3.1 | 1.3.1 |
| OSV | PyPI | multipart | < 1.2.2 | 1.2.2 |
| OSV | PyPI | multipart | < 1.2.2; >= 1.3.0, < 1.3.1 | 1.2.2, 1.3.1 |
References
- https://github.com/defnull/multipart/security/advisories/GHSA-p2m9-wcp5-6qw3 · WEB
- https://access.redhat.com/errata/RHSA-2026:10184
- https://access.redhat.com/errata/RHSA-2026:37275
- https://access.redhat.com/errata/RHSA-2026:42644
- https://access.redhat.com/errata/RHSA-2026:5809
- https://access.redhat.com/errata/RHSA-2026:6761
- https://access.redhat.com/errata/RHSA-2026:6762
- https://access.redhat.com/security/cve/CVE-2026-28356
- https://bugzilla.redhat.com/show_bug.cgi?id=2447059
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28356.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-28356 · ADVISORY
- https://github.com/defnull/multipart · PACKAGE
- https://pypi.org/project/multipart · PACKAGE
- https://github.com/advisories/GHSA-p2m9-wcp5-6qw3 · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 12 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Mar 2026)