{"api_version":"1","generated_at":"2026-04-18T05:18:05+00:00","cve":"CVE-2026-40347","urls":{"html":"https://cve.report/CVE-2026-40347","api":"https://cve.report/api/cve/CVE-2026-40347.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40347","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40347"},"summary":{"title":"Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data","description":"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-04-18 00:16:38","updated_at":"2026-04-18 00:16:38"},"problem_types":["CWE-400","CWE-834","CWE-400 CWE-400: Uncontrolled Resource Consumption","CWE-834 CWE-834: Excessive Iteration"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"references":[{"url":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pj","name":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pj","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/Kludex/python-multipart/releases/tag/0.0.26","name":"https://github.com/Kludex/python-multipart/releases/tag/0.0.26","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40347","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40347","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Kludex","product":"python-multipart","version":"affected < 0.0.26","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"python-multipart","vendor":"Kludex","versions":[{"status":"affected","version":"< 0.0.26"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-834","description":"CWE-834: Excessive Iteration","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-17T23:56:50.777Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pj","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pj"},{"name":"https://github.com/Kludex/python-multipart/releases/tag/0.0.26","tags":["x_refsource_MISC"],"url":"https://github.com/Kludex/python-multipart/releases/tag/0.0.26"}],"source":{"advisory":"GHSA-mj87-hwqh-73pj","discovery":"UNKNOWN"},"title":"Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-40347","datePublished":"2026-04-17T23:56:50.777Z","dateReserved":"2026-04-10T22:50:01.358Z","dateUpdated":"2026-04-17T23:56:50.777Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-18 00:16:38","lastModifiedDate":"2026-04-18 00:16:38","problem_types":["CWE-400","CWE-834","CWE-400 CWE-400: Uncontrolled Resource Consumption","CWE-834 CWE-834: Excessive Iteration"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW"},"exploitabilityScore":3.9,"impactScore":1.4}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"40347","Ordinal":"1","Title":"Python-Multipart affected by Denial of Service via large multipa","CVE":"CVE-2026-40347","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"40347","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Python-Multipart affected by Denial of Service via large multipa"}]}}}