5.3

CVE-2026-40347: Python-Multipart affected by Denial of Service via large multipart preamble or epilogue data

Analyzed
AliasesGHSA-mj87-hwqh-73pjPYSEC-2026-3038UBUNTU-CVE-2026-40347
Published 17-04-2026Last modified 20-04-2026

Vulnerability summary

CVE-2026-40347 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in fastapiexpert python-multipart. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 33.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.37%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 17-04-2026
    PublishedVulnerability first disclosed.
  2. 20-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

33%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.35% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard15 products
  • airflow-2< 2.11.2-r9
  • airflow-3< 3.2.1-r0
  • airflow-core-2All versions (No fix recorded)
  • airflow-core-3< 3.2.1-r0
  • keep-api< 0.51.0-r4 | < 0.51.0-r3
Wolfi3 products
  • airflow-3< 3.2.1-r0
  • kserve-storage-controller< 0.17.0-r2
  • semgrep< 1.160.0-r1
Debian1 product
  • python-multipartAll versions (No fix recorded) | < 0.0.26-1
Fastapiexpert1 product
Kludex1 product
Opensuse1 product
  • python-python-multipart&distro=openSUSE Tumbleweed< 0.0.26-1.1
PyPI1 product
  • python-multipart< 0.0.26
Ubuntu1 product
  • python-multipartAll versions (No fix recorded)

8 vendors · 24 products

References

12 links
Show all 12 references