5.3Medium

CVE-2026-40347Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data

Kludex python-multipart Published: (7 months ago)

Description

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.

Weakness (CWE): CWE-400CWE-834

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

Affected products and versions

VendorProductVersions
fastapiexpert python-multipart < 0.0.26
Kludex python-multipart < 0.0.26

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:* < 0.0.26