{"id":"CVE-2026-40347","published":"2026-04-17T23:56:50Z","modified":"2026-04-20T15:46:40Z","title":"Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data","vendor":"Kludex","product":"python-multipart","tier":"tail","description":{"text":"Python-Multipart is a streaming multipart parser for Python. Versions prior to 0.0.26 have a denial of service vulnerability when parsing crafted `multipart/form-data` requests with large preamble or epilogue sections. Upgrade to version 0.0.26 or later, which skips ahead to the next boundary candidate when processing leading CR/LF data and immediately discards epilogue data after the closing boundary.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00364,"percentile":0.31064,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-834","name":"Excessive Iteration"}],"references":[{"url":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Kludex/python-multipart/releases/tag/0.0.26","tags":["x_refsource_MISC"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":6.21},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"kludex","affectedVersions":[{"vendor":"Kludex","product":"python-multipart","versions":["< 0.0.26"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-20T15:46:36.258461Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"python-multipart","vulnerableRanges":["<0.0.26"],"patched":["0.0.26"],"from":["GHSA-mj87-hwqh-73pj","PYSEC-2026-3038"],"provenance":"source"}],"summary":{"text":"The Python-Multipart library, a streaming multipart parser for Python, contains a denial of service flaw in its handling of multipart/form-data requests with large preamble or epilogue sections. An attacker can send a crafted multipart/form-data request over the network, with no authentication or user interaction required, to cause resource exhaustion in the parsing component.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:34Z"},"euvd":{"id":"EUVD-2026-23615","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-24762","published":"2024-02-05","fixed":"0.0.7","kev":false},{"cve":"CVE-2024-53981","published":"2024-12-02","fixed":"0.0.18","kev":false},{"cve":"CVE-2026-24486","published":"2026-01-27","fixed":"0.0.22","kev":false,"link":{"from":"CVE-2026-24486","to":"CVE-2026-40347","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:python-multipart","fromFixed":"0.0.22","toFixed":"0.0.26","daysApart":80}]}},{"cve":"CVE-2026-40347","published":"2026-04-17","fixed":"0.0.26","kev":false},{"cve":"CVE-2026-42561","published":"2026-05-13","fixed":"0.0.27","kev":false,"link":{"from":"CVE-2026-40347","to":"CVE-2026-42561","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:python-multipart","fromFixed":"0.0.26","toFixed":"0.0.27","daysApart":26}]}},{"cve":"CVE-2026-53537","published":"2026-06-22","fixed":"0.0.30","kev":false},{"cve":"CVE-2026-53538","published":"2026-06-22","fixed":"0.0.30","kev":false}],"package":"PyPI:python-multipart"}}