← Vulnerability feed

Vulnerability record · CVE-2024-24762 · published 5 February 2024

CVE-2024-24762: Fastapiexpert python-multipart uncontrolled resource consumption vulnerability

Fastapiexpert · Python Multipart

`python-multipart` is a streaming multipart parser for Python. When using form data, `python-multipart` uses a Regular Expression to parse the HTTP `Content-Type` header, including options. An attacker could send a custom-made `Content-Type` option that is very difficult for the RegEx to process, consuming CPU resources and stalling indefinitely (minutes or more) while holding the main event loop. This means that process can't handle any more requests, leading to regular expression denial of service. This vulnerability has been patched in version 0.0.7.

7.5 CVSS 3.1 High EPSS 1.5% · top 26.6% CWE-400 · Uncontrolled resource consumptionCWE-1333 · Inefficient regular expression (ReDoS)
7.5CVSS 3.1 base score
1.5%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
16References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

`python-multipart` is a streaming multipart parser for Python. When using form data, `python-multipart` uses a Regular Expression to parse the HTTP `Content-Type` header, including options. An attacker could send a custom-made `Content-Type` option that is very difficult for the RegEx to process, consuming CPU resources and stalling indefinitely (minutes or more) while holding the main event loop. This means that process can't handle any more requests, leading to regular expression denial of service. This vulnerability has been patched in version 0.0.7.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/Kludex/python-multipart/commit/20f0ef6b4e4caf7d69a667c54dff57fe467109a4 Patch
https://github.com/Kludex/python-multipart/security/advisories/GHSA-2jv5-9r88-3w3p ExploitVendor Advisory
https://github.com/andrew-d/python-multipart/blob/d3d16dae4b061c34fe9d3c9081d9800c49fc1f7a/multipart/multipart.py#L72-L7 Product
https://github.com/encode/starlette/commit/13e5c26a27f4903924624736abd6131b2da80cc5 Patch
https://github.com/encode/starlette/security/advisories/GHSA-93gm-qmq6-w238 Broken Link
https://github.com/tiangolo/fastapi/commit/9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc Patch
https://github.com/tiangolo/fastapi/releases/tag/0.109.1 Product
https://github.com/tiangolo/fastapi/security/advisories/GHSA-qf9m-vfgh-m389 Broken Link
https://github.com/Kludex/python-multipart/commit/20f0ef6b4e4caf7d69a667c54dff57fe467109a4 Patch
https://github.com/Kludex/python-multipart/security/advisories/GHSA-2jv5-9r88-3w3p ExploitVendor Advisory
https://github.com/andrew-d/python-multipart/blob/d3d16dae4b061c34fe9d3c9081d9800c49fc1f7a/multipart/multipart.py#L72-L7 Product
https://github.com/encode/starlette/commit/13e5c26a27f4903924624736abd6131b2da80cc5 Patch
https://github.com/encode/starlette/security/advisories/GHSA-93gm-qmq6-w238 Broken Link
https://github.com/tiangolo/fastapi/commit/9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc Patch
https://github.com/tiangolo/fastapi/releases/tag/0.109.1 Product
https://github.com/tiangolo/fastapi/security/advisories/GHSA-qf9m-vfgh-m389 Broken Link

Track CVE-2024-24762 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2026-53539Fastapiexpert python-multipart uncontrolled resource consumption vulnerabilityPython-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, when parsing application/x-www-form-urlencoded bodies, QuerystringParse…EPSS 0.46%7.5CVE-2026-24486Fastapiexpert python-multipart path traversal vulnerabilityPython-Multipart is a streaming multipart parser for Python. Prior to version 0.0.22, a Path Traversal vulnerability exists when using non-default co…EPSS 2.2%5.3CVE-2026-53537Fastapiexpert python-multipart improper input validation vulnerabilityPython-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, parse_options_header parsed Content-Disposition (and Content-Type) head…EPSS 0.29%5.3CVE-2026-40347Fastapiexpert python-multipart uncontrolled resource consumption vulnerabilityPython-Multipart is a streaming multipart parser for Python. Versions prior to 0.0.26 have a denial of service vulnerability when parsing crafted `mu…EPSS 0.42%3.7CVE-2026-53538Fastapiexpert python-multipart interpretation conflict vulnerabilityPython-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, QuerystringParser treated ; as a field separator in application/x-www-f…EPSS 0.26%3.7CVE-2026-53540Fastapiexpert python-multipart vulnerabilityPython-Multipart is a streaming multipart parser for Python. Prior to 0.0.31, parse_form() did not validate the Content-Length header before using it…EPSS 0.34%7.5CVE-2026-28318SolarWinds Serv-U unauthenticated POST request denial of serviceSolarWinds Serv-U crashes when it receives a specially crafted POST request using Content-Encoding: deflate, and the crash occurs without authenticat…KEVEPSS 1.9%analysed7.5CVE-2026-45498Microsoft Defender antimalware platform uncontrolled resource consumption DoSCVE-2026-45498 is a denial of service flaw in the Microsoft Defender antimalware platform, classified as uncontrolled resource consumption (CWE-400).…KEVEPSS 1.3%analysed

Source: NIST National Vulnerability Database (record CVE-2024-24762), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.