CVE-2026-53540
published low CVSS 3.1 · 3.7Python-Multipart: Negative Content-Length in parse_form buffers the entire body in memory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Kludex | — | python-multipart< 0.0.31 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-16 | python313-python-multipartnoarch | Advisory build | 0.0.20-160000.5.1 | SUSE-SU-2026:22372-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-python-multipartnoarch | Advisory build | 0.0.20-160000.5.1 | OPENSUSE-SU-2026:21066-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multipartaarch64 | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multipartppc64le | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multiparts390x | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multipartx86_64 | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multipartaarch64 | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multipartppc64le | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multiparts390x | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multipartx86_64 | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-python-multipartaarch64 | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-python-multipartppc64le | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-python-multiparts390x | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-python-multipartx86_64 | Advisory build | 0.0.32-1.1 | OPENSUSE-SU-2026:11099-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.7 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Kludex | python-multipart | < 0.0.31 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1284 CWE-1284: Improper Validation of Specified Quantity in Input
References
1Provider assertions
2GitHub_M · cna
Python-Multipart: Negative Content-Length in parse_form buffers the entire body in memory
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b32ad6093ccaefb2188eaeb3c44f6c89011411e0bdd6f4a863b3d24abe2e3c15
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record