7.5

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

Deferred
AliasesGHSA-59g5-xgcq-4qw3PYSEC-2026-1851UBUNTU-CVE-2024-53981
Published 02-12-2024Last modified 02-12-2024

Vulnerability summary

CVE-2024-53981 is a high (CVSS 7.5) vulnerability in kludex python-multipart. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 51.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.64%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Duplicates 2 · Related 3

Timeline

  1. 02-12-2024
    PublishedVulnerability first disclosed.
  2. 02-12-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 7 sources · 2 versions

EPSS trend

Probability

0.64%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.64% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Opensuse2 products
  • python-python-multipart&distro=openSUSE Leap 15.6< 0.0.9-150600.3.3.1
  • python-python-multipart&distro=openSUSE Tumbleweed< 0.0.19-1.1
Chainguard1 product
  • reflex< 0.6.7-r0
Debian1 product
  • python-multipartAll versions (No fix recorded) | < 0.0.20-1
Kludex1 product
PyPI1 product
  • python-multipart< 0.0.18
Ubuntu1 product
  • python-multipart< 0.0.5-2ubuntu0.1~esm1 | < 0.0.9-1ubuntu0.1~esm1
Wolfi1 product
  • reflex< 0.6.7-r0

7 vendors · 8 products

References

14 links
Show all 14 references