Skip to main content
VulnerabilityPublished Updated

CVE-2024-53981: python-multipart is a streaming multipart parser for Python

Affects python-multipartSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 0.0.5-2ubuntu0.1~esm1 : patch python-multipart soon.

Data as of 24 Nov 2026, 19:42 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.0.5-2ubuntu0.1~esm1, 0.0.9-1ubuntu0.1~esm1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu python-multipart to 0.0.5-2ubuntu0.1~esm1 (package) or 0.0.9-1ubuntu0.1~esm1 (package).

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTSpython-multipartpkg:deb/ubuntu/python-multipart?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <0.0.9-1ubuntu0.1~esm1
Fixed in
  • 0.0.9-1ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSpython-multipartpkg:deb/ubuntu/python-multipart?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <0.0.5-2ubuntu0.1~esm1
Fixed in
  • 0.0.5-2ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…