# CVE-2024-53981: python-multipart has a Denial of service (DoS) via deformation \`multipart/form-data\` boundary

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.0.18 (CNA); fix release not confirmed
- Status: published
- Published: 2024-12-02 · Modified: 2024-12-02
- Aliases: GHSA-59g5-xgcq-4qw3, PYSEC-2026-1851, UBUNTU-CVE-2024-53981, DEBIAN-CVE-2024-53981, CGA-379p-6v7f-p4jp, CGA-v7pm-262m-hvv2, SUSE-SU-2024:4194-1, openSUSE-SU-2024:14551-1
- Record: https://cvemate.com/vulnerability/CVE-2024-53981 · JSON: https://cvemate.com/vulnerability/CVE-2024-53981/json

## Description

```text
python-multipart is a streaming multipart parser for Python. When parsing form data, python-multipart skips line breaks (CR \r or LF \n) in front of the first boundary and any tailing bytes after the last boundary. This happens one byte at a time and emits a log event each time, which may cause excessive logging for certain inputs. An attacker could abuse this by sending a malicious request with lots of data before the first or after the last boundary, causing high CPU load and stalling the processing thread for a significant amount of time. In case of ASGI application, this could stall the event loop and prevent other requests from being processed, resulting in a denial of service (DoS). This vulnerability is fixed in 0.0.18.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.635%, percentile 51.862%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard reflex (Chainguard): \< 0.6.7-r0
- wolfi reflex (Wolfi): \< 0.6.7-r0
- debian python-multipart (Debian): All versions (No fix recorded) \| \< 0.0.20-1
- ubuntu python-multipart (Ubuntu): \< 0.0.5-2ubuntu0.1~esm1 \| \< 0.0.9-1ubuntu0.1~esm1
- kludex python-multipart: \< 0.0.18
- PyPI python-multipart (PyPI): \< 0.0.18
- opensuse python-python-multipart&distro=openSUSE Leap 15.6 (openSUSE): \< 0.0.9-150600.3.3.1
- opensuse python-python-multipart&distro=openSUSE Tumbleweed (openSUSE): \< 0.0.19-1.1

## References

- <https://github.com/Kludex/python-multipart/security/advisories/GHSA-59g5-xgcq-4qw3>
- <https://github.com/Kludex/python-multipart/commit/c4fe4d3cebc08c660e57dd709af1ffa7059b3177>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-53981>
- <https://github.com/Kludex/python-multipart>
- <https://pypi.org/project/python-multipart>
- <https://github.com/advisories/GHSA-59g5-xgcq-4qw3>
- <https://ubuntu.com/security/CVE-2024-53981>
- <https://www.cve.org/CVERecord?id=CVE-2024-53981>
- <https://ubuntu.com/security/notices/USN-8027-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-53981>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53981.json>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20244194-1/>
- <https://bugzilla.suse.com/1234115>
- <https://www.suse.com/security/cve/CVE-2024-53981>

---

Data as of 2026-12-05T06:42:46.431Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
