CVE-2026-53539: CWE-400: Uncontrolled Resource Consumption in Kludex python-multipart
CVE-2026-53539 is a high-severity vulnerability in Kludex python-multipart prior to version 0.0.30. The issue arises when parsing application/x-www-form-urlencoded bodies that use semicolon (;) as a field separator without ampersands (&). The parser performs an inefficient scan for & on every field iteration, causing quadratic time complexity in CPU usage. This can lead to excessive CPU consumption and potential denial of service when processing crafted requests. The vulnerability is fixed in version 0.0.30.
AI Analysis
Technical Summary
The python-multipart library before version 0.0.30 contains an uncontrolled resource consumption vulnerability (CWE-400) in its QuerystringParser. When parsing application/x-www-form-urlencoded bodies that use semicolon (;) as the separator and contain no ampersands (&), the parser repeatedly scans the entire remaining buffer for &, resulting in O(B^2) byte comparisons for a chunk of size B with N semicolon-separated fields. An attacker can exploit this by sending a crafted body with many semicolon-separated fields, causing high CPU usage and potential exhaustion of worker processes. This vulnerability was addressed and fixed in version 0.0.30.
Potential Impact
The vulnerability allows an attacker to cause high CPU consumption on servers using vulnerable versions of python-multipart by submitting specially crafted request bodies. This can lead to denial of service by exhausting worker processes handling requests. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Upgrade python-multipart to version 0.0.30 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is documented. Patch status is not explicitly confirmed beyond the fix in 0.0.30, so users should verify the upgrade.
CVE-2026-53539: CWE-400: Uncontrolled Resource Consumption in Kludex python-multipart
Description
CVE-2026-53539 is a high-severity vulnerability in Kludex python-multipart prior to version 0.0.30. The issue arises when parsing application/x-www-form-urlencoded bodies that use semicolon (;) as a field separator without ampersands (&). The parser performs an inefficient scan for & on every field iteration, causing quadratic time complexity in CPU usage. This can lead to excessive CPU consumption and potential denial of service when processing crafted requests. The vulnerability is fixed in version 0.0.30.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The python-multipart library before version 0.0.30 contains an uncontrolled resource consumption vulnerability (CWE-400) in its QuerystringParser. When parsing application/x-www-form-urlencoded bodies that use semicolon (;) as the separator and contain no ampersands (&), the parser repeatedly scans the entire remaining buffer for &, resulting in O(B^2) byte comparisons for a chunk of size B with N semicolon-separated fields. An attacker can exploit this by sending a crafted body with many semicolon-separated fields, causing high CPU usage and potential exhaustion of worker processes. This vulnerability was addressed and fixed in version 0.0.30.
Potential Impact
The vulnerability allows an attacker to cause high CPU consumption on servers using vulnerable versions of python-multipart by submitting specially crafted request bodies. This can lead to denial of service by exhausting worker processes handling requests. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Upgrade python-multipart to version 0.0.30 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is documented. Patch status is not explicitly confirmed beyond the fix in 0.0.30, so users should verify the upgrade.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-09T18:13:07.263Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a39735aeed863c81e396233
Added to database: 06/22/2026, 17:39:38 UTC
Last enriched: 06/22/2026, 17:54:34 UTC
Last updated: 06/22/2026, 20:37:20 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.