{"schemaVersion":3,"id":"CVE-2024-24762","aliases":["GHSA-2jv5-9r88-3w3p","GHSA-qf9m-vfgh-m389","PYSEC-2024-38","PYSEC-2026-1850","UBUNTU-CVE-2024-24762","DEBIAN-CVE-2024-24762","CGA-3f62-hgjw-8f5m","CGA-j64c-jp8f-9595","openSUSE-SU-2026:11710-1","openSUSE-SU-2026:12032-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-02-05T14:33:06.481Z","modified":"2025-05-09T16:32:50.015Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01523,"percentile":0.74251,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.01299999999999999,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0151},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01523,"percentile":0.74251}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0151,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01523,"percentile":0.74251}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_KLUDEX_PYTHON-MULTIPART","name":"Python Multipart","source":"github","url":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-2jv5-9r88-3w3p","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"chainguard","product":"reflex","name":"reflex","label":"reflex","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/reflex","purlType":"apk","versions":[{"text":"< 0.4.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"reflex","name":"reflex","label":"reflex","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/reflex","purlType":"apk","versions":[{"text":"< 0.4.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.0-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"python-multipart","name":"python-multipart","label":"python-multipart","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-multipart","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.0.9-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.0.9-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-multipart","name":"python-multipart","label":"python-multipart","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-multipart","purlType":"deb","versions":[{"text":"< 0.0.5-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.5-2ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"encode","product":"starlette","name":"starlette","label":"starlette","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.36.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.36.2","eol":null,"hubHref":"/vendor/encode/starlette"},{"vendor":"fastapiexpert","product":"python-multipart","name":"python-multipart","label":"python-multipart","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.0.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.7","eol":null,"hubHref":"/vendor/fastapiexpert/python-multipart"},{"vendor":"kludex","product":"python-multipart","name":"python-multipart","label":"python-multipart","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.0.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.7","eol":null,"hubHref":"/vendor/kludex/python-multipart"},{"vendor":"PyPI","product":"fastapi","name":"fastapi","label":"fastapi","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/fastapi","purlType":"pypi","versions":[{"text":"< 9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc","noFixRecorded":false,"fixedIn":null},{"text":"< 0.109.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc | < 0.109.1","eol":null,"hubHref":null},{"vendor":"PyPI","product":"python-multipart","name":"python-multipart","label":"python-multipart","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/python-multipart","purlType":"pypi","versions":[{"text":"< 0.0.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.7","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-fastapi&distro=openSUSE Tumbleweed","name":"python-fastapi","label":"python-fastapi&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-fastapi&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 0.138.0-2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.138.0-2.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-python-multipart&distro=openSUSE Tumbleweed","name":"python-python-multipart","label":"python-python-multipart&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-python-multipart&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 0.0.32-1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.32-1.3","eol":null,"hubHref":null},{"vendor":"tiangolo","product":"fastapi","name":"fastapi","label":"fastapi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.109.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.109.1","eol":null,"hubHref":"/vendor/tiangolo/fastapi"}],"affectedCount":12,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-2jv5-9r88-3w3p","label":"github.com/Kludex/python-multipart/security/advisories/GHSA-2jv5-9r88-3w3p","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/Kludex/python-multipart/commit/20f0ef6b4e4caf7d69a667c54dff57fe467109a4","label":"github.com/Kludex/python-multipart/commit/20f0ef6b4e4caf7d69a667c54dff57fe467109a4","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT","Patch"]},{"url":"https://github.com/tiangolo/fastapi/security/advisories/GHSA-qf9m-vfgh-m389","label":"github.com/tiangolo/fastapi/security/advisories/GHSA-qf9m-vfgh-m389","hostname":"github.com","tags":["X Refsource MISC","WEB","Advisory","Broken Link"]},{"url":"https://github.com/encode/starlette/security/advisories/GHSA-93gm-qmq6-w238","label":"github.com/encode/starlette/security/advisories/GHSA-93gm-qmq6-w238","hostname":"github.com","tags":["X Refsource MISC","WEB","Advisory","Broken Link"]},{"url":"https://github.com/andrew-d/python-multipart/blob/d3d16dae4b061c34fe9d3c9081d9800c49fc1f7a/multipart/multipart.py#L72-L74","label":"github.com/andrew-d/…","hostname":"github.com","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://github.com/encode/starlette/commit/13e5c26a27f4903924624736abd6131b2da80cc5","label":"github.com/encode/starlette/commit/13e5c26a27f4903924624736abd6131b2da80cc5","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/tiangolo/fastapi/commit/9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc","label":"github.com/tiangolo/fastapi/commit/9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/tiangolo/fastapi/releases/tag/0.109.1","label":"github.com/tiangolo/fastapi/releases/tag/0.109.1","hostname":"github.com","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24762","label":"nvd.nist.gov/vuln/detail/CVE-2024-24762","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/github/advisory-database/pull/4829","label":"github.com/github/advisory-database/pull/4829","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/Kludex/python-multipart","label":"github.com/Kludex/python-multipart","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/fastapi/PYSEC-2024-38.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/fastapi/PYSEC-2024-38.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/tiangolo/fastapi","label":"github.com/tiangolo/fastapi","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/python-multipart","label":"pypi.org/project/python-multipart","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-2jv5-9r88-3w3p","label":"github.com/advisories/GHSA-2jv5-9r88-3w3p","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-24762","label":"ubuntu.com/security/CVE-2024-24762","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/Kludex/python-multipart/pull/75","label":"github.com/Kludex/python-multipart/pull/75","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-24762","label":"www.cve.org/CVERecord?id=CVE-2024-24762","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8027-1","label":"ubuntu.com/security/notices/USN-8027-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-24762","label":"security-tracker.debian.org/tracker/CVE-2024-24762","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24762.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24762.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/encode/starlette","label":"github.com/encode/starlette","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://www.suse.com/security/cve/CVE-2024-24762","label":"www.suse.com/security/cve/CVE-2024-24762","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["USN-8027-1"],"duplicates":[],"related":["CGA-VG7G-JJC2-3R6J","CGA-WQ5W-V398-M48R","GHSA-93GM-QMQ6-W238","USN-8027-1"]},"timeline":[{"kind":"published","date":"2024-02-05T14:33:06.481Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-09T16:32:50.015Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:32:13.929Z","stale":false,"partial":false}}