PT-2026-33212 · Pypi · Python-Multipart

CVE-2026-40347

·

Published

2026-04-15

·

Updated

2026-07-21

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions Python-Multipart versions prior to 0.0.26
Description An issue exists when parsing crafted multipart/form-data requests containing large preamble or epilogue sections. Two inefficient parsing paths can be abused: the parser handles leading CR and LF bytes inefficiently while searching for the first boundary, and it continues processing trailing epilogue data after the closing boundary instead of discarding it. This allows an attacker to send oversized malformed multipart bodies that consume excessive CPU time, reducing request-handling capacity and delaying legitimate requests, which degrades availability.
Recommendations Upgrade to version 0.0.26 or later.

Exploit

Fix

DoS

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CLEANSTART-2026-AZ09261
CLEANSTART-2026-HP19968
CLEANSTART-2026-IR98353
CLEANSTART-2026-MR94452
CLEANSTART-2026-NL78203
CLEANSTART-2026-WQ85001
CLEANSTART-2026-WU03167
CVE-2026-40347
ECHO-93A8-8BC8-DFAD
GHSA-MJ87-HWQH-73PJ
OPENSUSE-SU-2026:10597-1
OPENSUSE-SU-2026:20846-1
PYSEC-2026-3038
SUSE-SU-2026:1544-1
SUSE-SU-2026:21999-1

Affected Products

Python-Multipart