5.3Medium
CVE-2026-40347Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| fastapiexpert | python-multipart | < 0.0.26 | |
| Kludex | python-multipart | < 0.0.26 |
References and patches
- https://github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pj Vendor Advisory
- https://github.com/Kludex/python-multipart/releases/tag/0.0.26 ProductRelease Notes
CPE matches (NVD) (1)
cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*< 0.0.26