7.5High

CVE-2026-42561Python-Multipart: Denial of Service via unbounded multipart part headers

Kludex python-multipart; Red Hat Red Hat Ansible Automation Platform 2.6; Red Hat Red Hat Ansible Automation Platform 2.7; Red Hat Red Hat Migration Toolkit fo… Published: (6 months ago)

Description

Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.27, python-multipart has a denial of service vulnerability in multipart part header parsing. When parsing multipart/form-data, MultipartParser previously had no limit on the number of part headers or the size of an individual part header. An attacker could send a request with either many repeated headers without terminating the header block or a single very large header value, causing excessive CPU work before request rejection or completion. This vulnerability is fixed in 0.0.27.

Weakness (CWE): CWE-770CWE-606

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

Affected products and versions

References and patches