
CVE catalog
CVE-2026-40347
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
- Severity
- Medium · CVSS 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.35% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-multipart | sid | 0.0.32-1 | fixed |
| Debian | python-multipart | forky | 0.0.32-1 | fixed |
| Debian | python-multipart | trixie | 0.0.20-1.1~deb13u1 | vulnerable |
| Debian | python-multipart | bookworm | 0.0.5-3 | vulnerable |
| Cpe | python-multipart | Not reported | Not reported | vulnerable |
| Cpe | python-multipart | Not reported | 0.0.26 | fixed |
| PyPI | python-multipart | Not reported | 0.0.26 | fixed |
| Suse | python-python-multipart | linux enterprise server 16.0 | 0.0.20-160000.4.1 | fixed |
| Suse | python-python-multipart | linux enterprise server for sap applications 16.0 | 0.0.20-160000.4.1 | fixed |
| Opensuse | python-python-multipart | tumbleweed | 0.0.26-1.1 | fixed |
| Cpe | python-multipart | Not reported | 0.0.26 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-multipart | source | sid | 0.0.26-1 | not yet assigned | Not reported | Not reported |
| Debian | python-multipart | source | forky | 0.0.26-1 | not yet assigned | Not reported | Not reported |
| Debian | python-multipart | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | python-multipart | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | python-multipart | cpe | Not reported | 0.0.26 | Not reported | Not reported | Not reported |
| PyPI | python-multipart | PyPI | Not reported | 0.0.26 | Not reported | GHSA-MJ87-HWQH-73PJ | Not reported |
| Suse | python-python-multipart | rpm | linux enterprise server 16.0 | 0.0.20-160000.4.1 | Not reported | SUSE-SU-2026:21999-1 | Not reported |
| Suse | python-python-multipart | rpm | linux enterprise server for sap applications 16.0 | 0.0.20-160000.4.1 | Not reported | SUSE-SU-2026:21999-1 | Not reported |
| Opensuse | python-python-multipart | rpm | tumbleweed | 0.0.26-1.1 | Not reported | OPENSUSE-SU-2026:10597-1 | Not reported |
| Cpe | python-multipart | cpe | Not reported | 0.0.26 | Not reported | NVD-CVE-2026-40347 | Not reported |
Notes
[trixie] python-multipart: Minor issue [bookworm] python-multipart: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-multipart]Affected
Source package: [python-multipart]
Details (2)
0.0.5-3· all · bookwormAffected
nvd · python-multipart · debian · bookworm; nvd · python-multipart · debian · 12
0.0.5-3· all · bookwormAffected
nvd · python-multipart · debian · bookworm; nvd · python-multipart · debian · 12
[Debian 13 (Trixie)]
- [python3-python-multipart]Affected
Source package: [python-multipart]
Details (2)
0.0.20-1.1~deb13u1· all · trixieAffected
nvd · python-multipart · debian · 13
0.0.20-1.1~deb13u1· all · trixieAffected
nvd · python-multipart · debian · 13
[openSUSE Tumbleweed]
- [python313-python-multipart]Unknown
Source package: [python-python-multipart]
Details (1)
0.0.32-1.3· noarch · tumbleweedUnknown · Fixed:
0.0.26-1.1Version impact unknown
nvd · python-python-multipart · opensuse · tumbleweed
- [python314-python-multipart]Unknown
Source package: [python-python-multipart]
Details (1)
0.0.32-1.3· noarch · tumbleweedUnknown · Fixed:
0.0.26-1.1Version impact unknown
nvd · python-python-multipart · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10597-1.json]
- [https://github.com/Kludex/python-multipart/releases/tag/0.0.26]
- [https://github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pj]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40347]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40347]
- [https://osv.dev/vulnerability/GHSA-mj87-hwqh-73pj]
- [https://osv.dev/vulnerability/SUSE-SU-2026:21999-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10597-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-40347]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40347.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1407.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]