Resource exhaustion in Kludex Python-Multipart

CVE-2026-42561

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.

EPSS: 0.007 (52.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-42561?
CVE-2026-42561 is a high-severity vulnerability in Kludex Python-Multipart, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 7.5/10. Published 2026-05-13.
How severe is CVE-2026-42561?
High severity. CVSS v3 base score is 7.5 out of 10.