CVE-2026-40347
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.
Does this matter?
Lower severity and a low EPSS score (0.35%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.3 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS
- 0.35% probability · 28th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-400, CWE-834
- Affected
- fastapiexpert/python-multipart
- Source
- security-advisories@github.com
References
- https://github.com/Kludex/python-multipart/releases/tag/0.0.26Product, Release Notes
- https://github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pjVendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.