CVE-2024-24762 in Fastapiexpert Python-Multipart and 2 more products
`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 resou...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fastapiexpert | Python-Multipart | < 0.0.7 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Encode Starlette, Tiangolo Fastapi
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-24762 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-052340-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2024-02-05 |
| Last modified | 2025-05-05 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-400: Uncontrolled Resource Consumption (DoS)
Software does not properly limit resource usage, allowing an attacker to exhaust CPU, memory, disk, or bandwidth.
CWE-1333: CWE-1333
Related attack patterns (CAPEC)
CAPEC-147 XML Ping of the Death via CWE-400
CAPEC-492 Regular Expression Exponential Blowup via CWE-400, CWE-1333
CAPEC-227 Sustained Client Engagement via CWE-400
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-24762 affects the python-multipart library, where a maliciously crafted Content-Type header can cause a denial of service by consuming excessive CPU resources.
An attacker can exploit this vulnerability by sending a specially crafted HTTP request with a Content-Type header that includes a complex option, causing the regular expression in python-multipart to take an excessive amount of time to process, leading to a denial of service.
Questions
What is CVE-2024-24762?
CVE-2024-24762 affects the python-multipart library, where a maliciously crafted Content-Type header can cause a denial of service by consuming excessive CPU resources.
What is the CVSS score for CVE-2024-24762?
CVE-2024-24762 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.5%.
Is CVE-2024-24762 actively exploited?
No confirmed active exploitation of CVE-2024-24762 as of 2026-05-30.
How do I remediate CVE-2024-24762?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2024-24762?
CVE-2024-24762 affects Fastapiexpert Python-Multipart.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fastapiexpert","product":"Python-Multipart","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-05-05.