Home / Kludex / python-multipart / CVE-2024-24762
CVE-2024-24762: is it exploited, and which versions of Kludex python-multipart are affected and fixed?
CVE-2024-24762 is a denial of service (uncontrolled resource consumption) vulnerability in Kludex python-multipart. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: python-multipart before 0.0.7 (GitHub advisory GHSA-2jv5-9r88-3w3p). Fixed in 0.0.7 (GitHub advisory GHSA-2jv5-9r88-3w3p). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:32 UTC.
What is CVE-2024-24762?
python-multipart vulnerable to content-type header Regular expression Denial of Service
`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.
From the CVE record by GitHub_M, last updated May 9, 2025, 16:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Kludex | python-multipart | before 0.0.7 | 0.0.7 |
| tiangolo | fastapi | before 0.109.1 | 0.109.1 |
| encode | starlette startlette | before 0.36.2 | 0.36.2 |
As the CVE record by GitHub_M states it, last updated May 9, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | python-multipart | < 0.0.7 | 0.0.7 | GHSA-2jv5-9r88-3w3p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 3, 2026. Summary: python-multipart vulnerable to Content-Type Header ReDoS.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| fastapiexpert | python-multipart | before 0.0.7 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:14 UTC.
How severe is CVE-2024-24762?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-24762 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, February 5, 2024)
- EPSS
- 1.52% probability of exploitation activity in the next 30 days, percentile 75.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/Kludex/python-multipart/security/advisories/GHSA-2jv5-9r88-3w3p x_refsource_CONFIRM
- https://github.com/Kludex/python-multipart/commit/20f0ef6b4e4caf7d69a667c54dff57fe467109a4 x_refsource_MISC
- https://github.com/tiangolo/fastapi/security/advisories/GHSA-qf9m-vfgh-m389 x_refsource_MISC
- https://github.com/encode/starlette/security/advisories/GHSA-93gm-qmq6-w238 x_refsource_MISC
- https://github.com/andrew-d/python-multipart/blob/d3d16dae4b061c34fe9d3c9081d9800c49fc1f7a/multipart/multipart.py#L72-L74 x_refsource_MISC
- https://github.com/encode/starlette/commit/13e5c26a27f4903924624736abd6131b2da80cc5 x_refsource_MISC
- https://github.com/tiangolo/fastapi/commit/9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc x_refsource_MISC
- https://github.com/tiangolo/fastapi/releases/tag/0.109.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 29, 2024
- Published
- February 5, 2024, 14:33 UTC
- CVE record updated
- May 9, 2025, 16:32 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:14 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:32 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect python-multipart?
- Jun 22, 2026CVE-2026-53540 Kludex python-multipart: quantity not validated
- Jun 22, 2026CVE-2026-53537 Kludex python-multipart: improper input validation
- Jun 22, 2026CVE-2026-53538 Kludex python-multipart: interpretation Conflict
- Jun 22, 2026CVE-2026-53539 Kludex python-multipart: denial of service (uncontrolled resource consumption)
- May 13, 2026CVE-2026-42561 Kludex python-multipart: denial of service (resources allocated without limits)
- Apr 17, 2026CVE-2026-40347 Kludex python-multipart: denial of service (uncontrolled resource consumption)
- Jan 27, 2026CVE-2026-24486 Kludex python-multipart: path traversal (reading or writing files outside the intended folder)
- Dec 2, 2024CVE-2024-53981 Kludex python-multipart: denial of service (resources allocated without limits)
Questions about CVE-2024-24762
Is CVE-2024-24762 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 1.52% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Kludex python-multipart are affected by CVE-2024-24762?
python-multipart before 0.0.7, per the GitHub advisory GHSA-2jv5-9r88-3w3p. The tables above give every range the sources list.
Which version fixes CVE-2024-24762?
0.0.7, per the GitHub advisory GHSA-2jv5-9r88-3w3p. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-24762?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-24762?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.