Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-40347
VULNERABILITY

CVE-2026-40347

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
5.3
Severity
MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Timeline

Published
Apr 18, 2026 00:16
Modified
Oct 26, 2026 21:10
Last observed
Oct 26, 2026 19:00

CWE

CWE-400CWE-834

Affected product identifiers

cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*

References