CVE-2026-40347

MEDIUM CVSS 3.1: 5.3 EPSS 0.36%
Updated Oct 27, 2026
Fastapiexpert
Parameter Value
CVSS 5.3 (MEDIUM)
Affected Versions before 0.0.26
Fixed In 0.0.26
Type CWE-400 (Uncontrolled Resource Consumption), CWE-834
Vendor Fastapiexpert
Public PoC No

Python-Multipart is a streaming multipart parser for Python. Versions prior to 0.0.26 have a denial of service vulnerability when parsing crafted `multipart/form-data` requests with large preamble or epilogue sections. Upgrade to version 0.0.26 or later, which skips ahead to the next boundary candidate when processing leading CR/LF data and immediately discards epilogue data after the closing boundary.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Fastapiexpert Python-Multipart
cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*
— 0.0.26