CVE-2026-42561
Python-Multipart is a streaming multipart parser for Python. Prior …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Kludex/python-multipart/security/advisories/GHSA-pp6c-gr5w-3c5g
- github.com/advisories/GHSA-pp6c-gr5w-3c5g
- nvd.nist.gov/vuln/detail/CVE-2026-42561
- access.redhat.com/security/cve/CVE-2026-42561
- bugzilla.redhat.com/show_bug.cgi?id=2477309
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42561.json
- access.redhat.com/errata/RHSA-2026:37275
- access.redhat.com/errata/RHSA-2026:42132
- nvd.nist.gov/vuln/detail/CVE-2026-42561
- cve.org/CVERecord?id=CVE-2026-42561
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.