Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40347: CWE-400: Uncontrolled Resource Consumption in Kludex python-multipart

0
Medium
VulnerabilityCVE-2026-40347cvecve-2026-40347cwe-400cwe-834
Published: Fri Apr 17 2026 (04/17/2026, 23:56:50 UTC)
Source: CVE Database V5
Vendor/Project: Kludex
Product: python-multipart

Description

A denial of service vulnerability exists in python-multipart versions prior to 0. 0. 26 due to uncontrolled resource consumption when parsing crafted multipart/form-data requests with large preamble or epilogue sections. The issue is resolved in version 0. 0. 26 and later by improving boundary processing and discarding epilogue data promptly.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/18/2026, 13:53:35 UTC

Technical Analysis

The python-multipart library before version 0.0.26 suffers from a denial of service vulnerability (CWE-400, CWE-834) caused by uncontrolled resource consumption when handling multipart/form-data requests containing large preamble or epilogue sections. This can cause the parser to consume excessive resources, leading to service disruption. The vulnerability is addressed in version 0.0.26 by skipping ahead to the next boundary candidate when processing leading CR/LF data and discarding epilogue data immediately after the closing boundary.

Potential Impact

Successful exploitation results in denial of service due to resource exhaustion during parsing of specially crafted multipart/form-data requests. There is no impact on confidentiality or integrity. The CVSS 3.1 base score is 5.3 (medium severity), reflecting network attack vector, no privileges required, no user interaction, and impact limited to availability.

Mitigation Recommendations

Upgrade python-multipart to version 0.0.26 or later to apply the fix that mitigates this vulnerability. Patch status is not explicitly confirmed in vendor advisories, but the description clearly states that upgrading to 0.0.26 or later resolves the issue. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-10T22:50:01.358Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e389f6bdfbbecc597650d2

Added to database: 4/18/2026, 1:41:10 PM

Last enriched: 4/18/2026, 1:53:35 PM

Last updated: 4/19/2026, 5:34:54 AM

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses