CVE-2026-40347

Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data

Published Apr 17, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-mj87-hwqh-73pj python-multipart affected by Denial of Service via large multipart preamble or epilogue data
History
Type Values Removed Values Added
First Time appeared Fastapiexpert
Fastapiexpert python-multipart
CPEs cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*
Vendors & Products Fastapiexpert
Fastapiexpert python-multipart
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Kludex
Kludex python-multipart
Vendors & Products Kludex
Kludex python-multipart
Type Values Removed Values Added
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.
Title Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data
Weaknesses CWE-400
CWE-834
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 20, 2026, 3:46 PM
Reserved
Apr 10, 2026, 10:50 PM
Status
Analyzed
Published
Apr 18, 2026, 12:16 AM
Modified
Oct 26, 2026, 9:10 PM
Severity
Moderate
Public date
Apr 17, 2026, 11:56 PM