Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. python-multipart
  4. ›
  5. CVE-2026-40347

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

April 15, 2026

A denial of service vulnerability exists when parsing crafted multipart/form-data requests with large preamble or epilogue sections.

References

  • github.com/Kludex/python-multipart
  • github.com/Kludex/python-multipart/releases/tag/0.0.26
  • github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pj
  • github.com/advisories/GHSA-mj87-hwqh-73pj
  • nvd.nist.gov/vuln/detail/CVE-2026-40347

Code Behaviors & Features

Detect and mitigate CVE-2026-40347 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.26

Fixed versions

  • 0.0.26

Solution

Upgrade to version 0.0.26 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-834: Excessive Iteration

Source file

pypi/python-multipart/CVE-2026-40347.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 17 Apr 2026 00:18:16 +0000.