CVE-2026-42561

HIGH

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

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 7.5
EPSS 0.0007
EPSS Percentile 20.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-770
Status published
Products (2)
Kludex/python-multipart < 0.0.27
pypi/python-multipart 0 - 0.0.27PyPI
Published May 13, 2026
Tracked Since May 14, 2026