Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.7%top 50%

CVE-2026-28356: CWE-1333: Inefficient Regular Expression Complexity in defnull multipart

0
High
VulnerabilityCVE-2026-28356cvecve-2026-28356cwe-1333
Published: 03/12/2026 (03/12/2026, 16:45:01 UTC)
Source: CVE Database V5
Vendor/Project: defnull
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

multipart
pkg:pypi/multipart
Affected versions
<1.2.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 22:31:56 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses