{"id":"CVE-2026-42561","published":"2026-05-13T20:55:11Z","modified":"2026-08-07T12:04:48Z","title":"Python-Multipart: Denial of Service via unbounded multipart part headers","vendor":"Kludex","product":"python-multipart","tier":"tail","description":{"text":"Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.27, python-multipart has a denial of service vulnerability in multipart part header parsing. When parsing multipart/form-data, MultipartParser previously had no limit on the number of part headers or the size of an individual part header. An attacker could send a request with either many repeated headers without terminating the header block or a single very large header value, causing excessive CPU work before request rejection or completion. This vulnerability is fixed in 0.0.27.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0074,"percentile":0.55536,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-606","name":"Unchecked Input for Loop Condition"}],"references":[{"url":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-pp6c-gr5w-3c5g","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-42561","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2477309","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42561.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42132","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42142","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:43038","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37275","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:44696","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:51357","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:51194","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:51219","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":11.11},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"kludex","affectedVersions":[{"vendor":"Kludex","product":"python-multipart","versions":["< 0.0.27"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-14T16:04:33.782234Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"python-multipart","vulnerableRanges":["<0.0.27"],"patched":["0.0.27"],"from":["GHSA-pp6c-gr5w-3c5g","PYSEC-2026-3039"],"provenance":"source"}],"summary":{"text":"The python-multipart streaming multipart parser, from the Kludex project, has a flaw in how MultipartParser handles part headers in multipart/form-data requests: it imposes no limit on the number of part headers or on the size of an individual header. An unauthenticated remote attacker can send a crafted request with many repeated headers or one very large header value, requiring only network access and no user interaction, to force excessive CPU work and cause denial of service before the request is rejected or completed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:14:07Z"},"euvd":{"id":"EUVD-2026-30159","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"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},{"cve":"CVE-2026-40347","published":"2026-04-17","fixed":"0.0.26","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-42561","published":"2026-05-13","fixed":"0.0.27","kev":false},{"cve":"CVE-2026-53537","published":"2026-06-22","fixed":"0.0.30","kev":false,"link":{"from":"CVE-2026-42561","to":"CVE-2026-53537","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:python-multipart","fromFixed":"0.0.27","toFixed":"0.0.30","daysApart":40}]}},{"cve":"CVE-2026-53538","published":"2026-06-22","fixed":"0.0.30","kev":false,"link":{"from":"CVE-2026-42561","to":"CVE-2026-53538","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:python-multipart","fromFixed":"0.0.27","toFixed":"0.0.30","daysApart":40}]}},{"cve":"CVE-2026-53539","published":"2026-06-22","fixed":"0.0.30","kev":false,"link":{"from":"CVE-2026-42561","to":"CVE-2026-53539","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:python-multipart","fromFixed":"0.0.27","toFixed":"0.0.30","daysApart":40}]}}],"package":"PyPI:python-multipart"}}