CVE-2026-28356: ReDoS in multipart 1.3.0 - `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.
Security readout for executives and security teams
Plain-English summary
A flaw in the Python multipart library can let an unauthenticated remote attacker consume excessive processing time with malicious request headers. Applications using affected versions to parse HTTP headers or multipart uploads may become slow or unavailable. The documented impact is denial of service, not data theft or modification.
Executive priority
High priority for public-facing applications because a remote unauthenticated request may impair availability. Patch reachable upload and form-processing services promptly, then address internal deployments according to business criticality. No confidentiality or integrity impact, active exploitation, or KEV inclusion is established by the supplied evidence.
Technical view
The parse_options_header() function contains a regular expression with ambiguous alternation, allowing exponential backtracking on crafted HTTP or multipart segment headers. Affected releases are versions below 1.2.2 and versions 1.3.0 through 1.3.0. Fixes are identified in 1.2.2, 1.3.1, and 1.4.0-dev. CVSS 3.1 is 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
Likely exposure
Exposure is highest for internet-accessible Python applications that use affected multipart versions and pass attacker-controlled HTTP or multipart headers to parse_options_header(). Installation alone does not prove reachability. Internal services and applications that do not process untrusted multipart or header input have lower practical exposure.
Exploitation context
The CVSS assessment indicates remote, low-complexity, unauthenticated exploitation requiring no user interaction. The source bundle reports no CISA KEV listing and provides no evidence of active exploitation. Treat exploit prevalence as unknown while prioritizing externally reachable upload and form-processing services.
Researcher notes
CWE-1333 applies to inefficient regular-expression complexity. Practical risk depends on vulnerable-version presence and whether attacker-controlled header values reach parse_options_header(). The bundle identifies upstream fixes and several Red Hat advisories, but does not establish affected framework integrations, observed attacks, or exploitation at scale. Avoid inferring exposure solely from package installation.
Mitigation direction
Upgrade affected installations to multipart 1.2.2 or 1.3.1, following the maintained dependency branch.
Review vendor guidance before using the 1.4.0-dev fix in production.
Apply applicable Red Hat errata when multipart is supplied through supported Red Hat products.
Prioritize internet-facing services that parse uploads, forms, or attacker-controlled request headers.
Use existing request limits and traffic controls to reduce denial-of-service exposure until upgrades complete.
Validation and detection
Inventory installed and transitive multipart versions using lockfiles, SBOMs, and deployment artifacts.
Confirm whether untrusted headers can reach parse_options_header() in each affected application.
Verify production instances run 1.2.2, 1.3.1, or a vendor-fixed package.
Regression-test legitimate multipart uploads and header parsing after remediation.
Monitor affected services for unusual CPU saturation, latency, and repeated malformed-request patterns.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-1333: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-1333 · source CWE mapping
Inefficient Regular Expression Complexity
Inefficient Regular Expression Complexity represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.