Skip to main content
← All vulnerabilities
CVE-2026-40347PYSEC-2026-3038GHSA-MJ87-HWQH-73PJ

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.26
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Kludex python-multipart

    fixed in 0.0.26

  • python-multipartPyPI

    fixed in 0.0.26

References 2

GitHub · Kludex/python-multipart