CVE-2024-24762 | python-multipart vulnerable to content-type header Regular expression Denial of Service

Exp

`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.

Published: 2024-02-05 Last update: 2025-05-05 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-24762 is rated High Exploit Risk (75.5/100): CVSS High severity, with medium exploitation likelihood (EPSS 3.33%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-24762

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-24762

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-09 3.42% 3.33% -0.09%
2 2026-03-27 3.33% 3.42% +0.09%
3 2026-03-06 3.33%

Full EPSS history (19 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-24762

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2024-24762

GitHub Security Advisory for CVE-2024-24762

GHSA-2jv5-9r88-3w3p · Severity: high · Ecosystem: pip — python-multipart vulnerable to Content-Type Header ReDoS

OS Trackers for CVE-2024-24762

vendor priority summary link
debian not yet assigned CVE-2024-24762 not yet assigned priority: Debian including 1 source packages (python-multipart), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2024-24762
suse high CVE-2024-24762 severity important: SUSE including 12 source package names (python-python-multipart, python310-fastapi-0.109.1-1.1, …), 12 product×package rows across 3 product lines (SUSE Linux Enterprise Server 16.0, openSUSE Leap 15.6, openSUSE Tumbleweed): Fixed 10, Known Not Affected 2. https://www.suse.com/security/cve/CVE-2024-24762/
ubuntu medium CVE-2024-24762 medium priority: Ubuntu including 1 source packages (python-multipart), 11 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 4, ignored 3, not-affected 2, released 2. https://ubuntu.com/security/CVE-2024-24762

Affected software / configurations for CVE-2024-24762

Vendor Product Version Raw CPE
fastapiexpert python-multipart < 0.0.7 cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*

References for CVE-2024-24762

cvelogic Threat Intelligence