# CVE-2024-53981: PYSEC-2026-1851 - Denial of service (DoS) via deformation `multipart/form-data` boundary

Source: https://junglewise.ai/threats/cve-2024-53981-denial-of-service-dos-via-deformation-multipart-form-data  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2024-53981 · Severity: low · CVSS 3.1 · Published 2026-07-07

Denial of service (DoS) via deformation `multipart/form-data` boundary

Technologies: [python-multipart (PyPI)](https://junglewise.ai/threats/technologies/python-multipart). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-53981 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-53981 being exploited in the wild.

**How severe is CVE-2024-53981?** Low severity, with a CVSS score of 3.1, published 7 July 2026.

**Which products and versions are affected?** python-multipart (PyPI) ECOSYSTEM:introduced=0,fixed=0.0.18.

**Is there a fix for CVE-2024-53981?** Yes. python-multipart (PyPI): upgrade to 0.0.18 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-53981?** Check whether you run python-multipart (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- python-multipart (PyPI): upgrade to 0.0.18 or later

  ```sh
  pip install "python-multipart>=0.0.18"
  ```


## Affected products

- python-multipart (PyPI) ECOSYSTEM:introduced=0,fixed=0.0.18

## Identifiers

- CVE-2024-53981
- GHSA-59g5-xgcq-4qw3
- PYSEC-2026-1851

## Related threats

- [PYSEC-2026-1850 - python-multipart vulnerable to Content-Type Header ReDoS](https://junglewise.ai/threats/cve-2024-24762-python-multipart-content-type-header-redos)
- [Kludex Python-Multipart denial of service via negative Content-Length](https://junglewise.ai/threats/cve-2026-53540-kludex-python-multipart-denial-of-service-via-negative-content)
- [Kludex Python-Multipart denial of service in QuerystringParser](https://junglewise.ai/threats/cve-2026-53539-kludex-python-multipart-denial-of-service-in-querystringparser)
- [Kludex Python-Multipart parameter smuggling via semicolon separator](https://junglewise.ai/threats/cve-2026-53538-kludex-python-multipart-parameter-smuggling-via-semicolon)
- [Kludex Python-Multipart parameter smuggling in Content-Disposition header](https://junglewise.ai/threats/cve-2026-53537-kludex-python-multipart-parameter-smuggling-in-content)
