ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-28356

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:25.10multipart
All versions before 1.2.1-2+deb13u1build0.25.10.1 (fixed in 1.2.1-2+deb13u1build0.25.10.1)
Ubuntu:26.04:LTSmultipart
All versions before 1.3.0-3ubuntu0.1 (fixed in 1.3.0-3ubuntu0.1)

References