CVE-2026-40347

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*

History

24 Apr 2026, 16:51

Type Values Removed Values Added
CPE cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*
First Time Fastapiexpert
Fastapiexpert python-multipart
References () https://github.com/Kludex/python-multipart/releases/tag/0.0.26 - () https://github.com/Kludex/python-multipart/releases/tag/0.0.26 - Product, Release Notes
References () https://github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pj - () https://github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pj - Vendor Advisory

18 Apr 2026, 00:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-18 00:16

Updated : 2026-04-24 16:51


NVD link : CVE-2026-40347

Mitre link : CVE-2026-40347

CVE.ORG link : CVE-2026-40347


JSON object : View

Products Affected

fastapiexpert

  • python-multipart
CWE
CWE-400

Uncontrolled Resource Consumption

CWE-834

Excessive Iteration