7.5

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

Analyzed
AliasesGHSA-2jv5-9r88-3w3pGHSA-qf9m-vfgh-m389PYSEC-2024-38
Published 05-02-2024Last modified 09-05-2025

Vulnerability summary

CVE-2024-24762 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in encode starlette. EPSS estimates a 1.52% chance of exploitation in the next 30 days, higher than 75.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.52%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 4

Timeline

  1. 05-02-2024
    PublishedVulnerability first disclosed.
  2. 09-05-2025
    Last modifiedVulnerability information updated.

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 metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

1.52%

Chance of exploitation in the next 30 days

Percentile

75%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.52% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Python Multipart

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Opensuse2 products
  • python-fastapi&distro=openSUSE Tumbleweed< 0.138.0-2.1
  • python-python-multipart&distro=openSUSE Tumbleweed< 0.0.32-1.3
PyPI2 products
  • fastapi< 9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc | < 0.109.1
  • python-multipart< 0.0.7
Chainguard1 product
  • reflex< 0.4.0-r0
Debian1 product
  • python-multipartAll versions (No fix recorded) | < 0.0.9-1
Encode1 product
Fastapiexpert1 product
Kludex1 product
Tiangolo1 product
Ubuntu1 product
  • python-multipart< 0.0.5-2ubuntu0.1~esm1
Wolfi1 product
  • reflex< 0.4.0-r0

10 vendors · 12 products

References

23 links
Show all 23 references