Live threats

All CVEs / defnull

CVE-2026-28356defnull multipart

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Mar 12, 2026
Updated
Aug 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for multipart.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI multipart ≥ 1.3.0 < 1.3.1 1.3.1 pip install "multipart>=1.3.1"
PyPI multipart < 1.2.2 1.2.2 pip install "multipart>=1.2.2"
PyPI multipart < 1.2.2 1.2.2 pip install "multipart>=1.2.2"
PyPI multipart ≥ 1.3.0 < 1.3.1 1.3.1 pip install "multipart>=1.3.1"

Per OSV / GitHub Advisories (GHSA-p2m9-wcp5-6qw3, PYSEC-2026-2670). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.