CVE-2026-40347: Python-Multipart is a streaming multipart parser for Python
CVE-2026-40347 is a medium-severity flaw (CVSS 5.3) affecting python-multipart. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40347?
python-multipart: upgrade to 0.0.26. Exact commands for each OS are on this page.
Is CVE-2026-40347 being exploited?
CVE-2026-40347 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40347 affect?
CVE-2026-40347 affects python-multipart. Severity is medium (CVSS 5.3). 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.
How urgent is CVE-2026-40347?
Priority 31/100. Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-53539 HIGH 7.5 UPGRADE Python-Multipart is a streaming multipart parser for Python
- CVE-2026-53540 LOW 3.7 UPGRADE Python-Multipart is a streaming multipart parser for Python
- CVE-2026-53537 LOW 3.7 UPGRADE Python-Multipart is a streaming multipart parser for Python
- CVE-2026-53538 LOW 3.7 UPGRADE Python-Multipart is a streaming multipart parser for Python