Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-40347 EUVD-2026-23615GHSA-mj87-hwqh-73pjPYSEC-2026-3038

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

Published Apr 17, 2026 · Updated Apr 20, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Kludex python-multipart < 0.0.26 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-multipart 0.0.26-1 —
Debian 13 python-multipart No fix yet —
Debian 12 python-multipart No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-multipart No fix yet —
Ubuntu 26.04 LTS python-multipart No fix yet —
Ubuntu 25.10 python-multipart No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS python-multipart No fix yet —
Ubuntu Pro 22.04 LTS python-multipart No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-python-multipart 0.0.20-160000.4.1 SUSE-SU-2026:21999-1
SLES 16.0 python-python-multipart 0.0.20-160000.4.1 SUSE-SU-2026:21999-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-python-multipart 0.0.26-1.1 openSUSE-SU-2026:10597-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow-3 3.2.1-r0 —
Wolfi rolling kserve-storage-controller 0.17.0-r2 —
Wolfi rolling semgrep 1.160.0-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI python-multipart < 0.0.26 0.0.26 GHSA-mj87-hwqh-73pj

Advisories 4

References