CVE-2026-28356: CWE-1333: Inefficient Regular Expression Complexity in defnull multipart
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.
AI Analysis
Technical Summary
The multipart library for Python, maintained by defnull, contained a vulnerability (CWE-1333) in its parse_options_header() function prior to versions 1.2.2, 1.3.1, and 1.4.0-dev. The vulnerability arises from the use of a regular expression with ambiguous alternation, which can trigger exponential backtracking when parsing specially crafted HTTP or multipart headers. This behavior can be exploited to cause denial of service (DoS) by exhausting CPU resources during parsing. The vulnerability is tracked as CVE-2026-28356 with a CVSS 3.1 base score of 7.5 (high severity), indicating network attack vector, low attack complexity, no privileges or user interaction required, and impact limited to availability. The issue is fixed in the specified versions. Red Hat has published advisories confirming the vulnerability and providing updates.
Potential Impact
Exploitation of this vulnerability can lead to denial of service (DoS) conditions in web applications that use the affected versions of the multipart library to parse HTTP or multipart/form-data headers. The attack causes excessive CPU consumption due to exponential backtracking in the vulnerable regular expression, potentially making the application unresponsive or degraded in availability. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
A fix is available in multipart versions 1.2.2, 1.3.1, and 1.4.0-dev. Users and administrators should upgrade to one of these fixed versions to remediate the vulnerability. There are no vendor advisories indicating that no action is required or that the issue is already mitigated by other means. Therefore, upgrading the multipart library to a fixed version is the recommended mitigation.
CVE-2026-28356: CWE-1333: Inefficient Regular Expression Complexity in defnull multipart
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.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The multipart library for Python, maintained by defnull, contained a vulnerability (CWE-1333) in its parse_options_header() function prior to versions 1.2.2, 1.3.1, and 1.4.0-dev. The vulnerability arises from the use of a regular expression with ambiguous alternation, which can trigger exponential backtracking when parsing specially crafted HTTP or multipart headers. This behavior can be exploited to cause denial of service (DoS) by exhausting CPU resources during parsing. The vulnerability is tracked as CVE-2026-28356 with a CVSS 3.1 base score of 7.5 (high severity), indicating network attack vector, low attack complexity, no privileges or user interaction required, and impact limited to availability. The issue is fixed in the specified versions. Red Hat has published advisories confirming the vulnerability and providing updates.
Potential Impact
Exploitation of this vulnerability can lead to denial of service (DoS) conditions in web applications that use the affected versions of the multipart library to parse HTTP or multipart/form-data headers. The attack causes excessive CPU consumption due to exponential backtracking in the vulnerable regular expression, potentially making the application unresponsive or degraded in availability. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
A fix is available in multipart versions 1.2.2, 1.3.1, and 1.4.0-dev. Users and administrators should upgrade to one of these fixed versions to remediate the vulnerability. There are no vendor advisories indicating that no action is required or that the issue is already mitigated by other means. Therefore, upgrading the multipart library to a fixed version is the recommended mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-26T18:38:13.890Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-28356","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6761","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5809","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6762","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10184","vendor":"Red Hat"}]
Threat ID: 69b30a4d2f860ef943dbc483
Added to database: 03/12/2026, 18:47:41 UTC
Last enriched: 07/22/2026, 22:31:56 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 316
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.