CVE catalog

CVE-2024-53981

Python-Multipart vulnerabilities

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.64% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-multipartsid0.0.32-1fixed
Debianpython-multipartforky0.0.32-1fixed
Debianpython-multiparttrixie0.0.20-1.1~deb13u1fixed
Debianpython-multipartbookworm0.0.5-3vulnerable
Ubuntupython-multipartnobleNot reportedvulnerable
Ubuntupython-multipartnoble0.0.9-1ubuntu0.1~esm1fixed
Ubuntupython3-multipartnoble0.0.9-1ubuntu0.1~esm1fixed
Ubuntupython-multipartpro0.0.5-3vulnerable
Ubuntupython-multipartpro0.0.6-1vulnerable
Ubuntupython-multipartpro0.0.9-1vulnerable
Ubuntupython-multipartpro0.0.9-1ubuntu0.1~esm1fixed
Opensusepython-python-multiparttumbleweed0.0.19-1.1fixed
Opensusepython-python-multipartleap 15.60.0.9-150600.3.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-multipartsourcesid0.0.20-1not yet assignedNot reported[1088991]
Debianpython-multipartsourceforky0.0.20-1not yet assignedNot reported[1088991]
Debianpython-multipartsourcetrixie0.0.20-1not yet assignedNot reported[1088991]
Debianpython-multipartsourcebookworm(unfixed)not yet assignedNot reported[1088991]
Ubuntupython-multipartdebnoble0.0.9-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython3-multipartdebnoble0.0.9-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython-multipartdebpro0.0.9-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2024-53981Not reported
Opensusepython-python-multipartrpmtumbleweed0.0.19-1.1Not reportedOPENSUSE-SU-2024:14551-1Not reported
Opensusepython-python-multipartrpmleap 15.60.0.9-150600.3.3.1Not reportedSUSE-SU-2024:4194-1Not reported

[Debian bug #1088991]

Notes

[bookworm] python-multipart: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [python-multipart]

    Details (2)
    • 0.0.5-3 · all · bookworm

      Affected

      usn · python-multipart · debian · bookworm; usn · python-multipart · debian · 12

    • 0.0.5-3 · all · bookworm

      Affected

      usn · python-multipart · debian · bookworm; usn · python-multipart · debian · 12

[openSUSE Tumbleweed]

[Debian 13 (Trixie)]

  • Source package: [python-multipart]

    Details (2)
    • 0.0.20-1.1~deb13u1 · all · trixie

      Fixed · Fixed: 0.0.20-1

      usn · python-multipart · debian · 13

    • 0.0.20-1.1~deb13u1 · all · trixie

      Fixed · Fixed: 0.0.20-1

      usn · python-multipart · debian · 13

Observed:

References