Description
Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.31, parse_form() did not validate the Content-Length header before using it to bound its chunked read of the request body. A negative Content-Length turned the bounded read into a read-until-EOF, so the entire body was loaded into memory in a single read instead of in fixed-size chunks. This vulnerability is fixed in 0.0.31.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Kludex | python-multipart | < 0.0.31 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-multipart | 0.0.32-1 | — |
| Debian 13 | python-multipart | No fix yet | — |
| Debian 12 | python-multipart | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | python-multipart | No fix yet | — |
| Ubuntu Pro 22.04 LTS | python-multipart | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | python-python-multipart | 0.0.20-160000.5.1 | SUSE-SU-2026:22372-1 |
| SLES 16.0 | python-python-multipart | 0.0.20-160000.5.1 | SUSE-SU-2026:22372-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-python-multipart | 0.0.32-1.1 | openSUSE-SU-2026:11099-1 |
| openSUSE Leap 16.0 | python-python-multipart | 0.0.20-160000.5.1 | openSUSE-SU-2026:21066-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | airflow-3 | 3.2.2-r7 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | python-multipart | < 0.0.31 | 0.0.31 | GHSA-v9pg-7xvm-68hf |
Advisories 3
- SUSE-SU-2026:22372-1 Security update for python-python-multipart SUSE / openSUSE Security Updates · Jul 2, 2026
- openSUSE-SU-2026:21066-1 Security update for python-python-multipart SUSE / openSUSE Security Updates · Jun 30, 2026
- openSUSE-SU-2026:11099-1 python311-python-multipart-0.0.32-1.1 on GA media SUSE / openSUSE Security Updates · Jun 24, 2026