Skip to content
OpenAdvisories
High · 7.5 CVE-2026-42561 EUVD-2026-30159GHSA-pp6c-gr5w-3c5gPYSEC-2026-3039

Python-Multipart: Denial of Service via unbounded multipart part headers

Published May 13, 2026 · Updated Aug 7, 2026 · Assigned by GitHub_M

Description

Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.27, python-multipart has a denial of service vulnerability in multipart part header parsing. When parsing multipart/form-data, MultipartParser previously had no limit on the number of part headers or the size of an individual part header. An attacker could send a request with either many repeated headers without terminating the header block or a single very large header value, causing excessive CPU work before request rejection or completion. This vulnerability is fixed in 0.0.27.

Affected products

VendorProductAffectedFixed
Kludex python-multipart < 0.0.27 —

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.32-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.28-1.1 openSUSE-SU-2026:10797-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow-3 3.2.1-r3 —
Wolfi rolling reflex 0.9.3-r0 —
Wolfi rolling semgrep 1.162.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI python-multipart < 0.0.27 0.0.27 GHSA-pp6c-gr5w-3c5g

Advisories 3

References