7.5High

CVE-2026-28356ReDoS in multipart 1.3.0 - `parse_options_header()`

defnull multipart; Red Hat Red Hat AI Inference Server 3.2; Red Hat Red Hat OpenShift AI 2.25; Red Hat Red Hat OpenShift AI 3.3 Published: (8 months ago)

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.

Weakness (CWE): CWE-1333

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ai inference server 3.2 —
defnull multipart >= 1.3.0, < 1.3.1, < 1.2.2
openshift ai 2.25 —
openshift ai 3.3 —
Red Hat Lightspeed Core all versions
Red Hat OpenShift Lightspeed all versions
Red Hat Red Hat AI Inference Server all versions
Red Hat Red Hat AI Inference Server 3.2 all versions
Red Hat Red Hat Ansible Automation Platform 2 —
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 all versions
Red Hat Red Hat OpenShift AI 2.25 all versions
Red Hat Red Hat OpenShift AI 3.3 all versions
Red Hat Red Hat OpenShift AI (RHOAI) —
Red Hat Red Hat Satellite 6 all versions

References and patches