CVE-2024-53981

python-multipart: python-multipart is a streaming multipart parser for Python

CVE-2024-53981 is fixed in 3 products on 1 platform, first by DEBIAN-CVE-2024-53981, released December 2, 2024. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0064
50th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
python-multipart · Debian 13.5 (trixie) 0.0.20-1 DEBIAN-CVE-2024-53981 Dec 2, 2024
python-multipart · Debian 14 0.0.20-1 DEBIAN-CVE-2024-53981 Dec 2, 2024
python-python-multipart · opensuse-leap 15.6 0.0.9-150600.3.3.1 SUSE-SU-2024:4194-1 Dec 5, 2024
python3-multipart · Ubuntu 22.04.1 LTS (jammy) 0.0.5-2ubuntu0.1~esm1 python3-multipart 0.0.5-2ubuntu0.1~esm1 Jan 26, 2026
python3-multipart · Ubuntu 24.04.5 LTS (noble) 0.0.9-1ubuntu0.1~esm1 python3-multipart 0.0.9-1ubuntu0.1~esm1 Jan 26, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.