cve.bz

CVE-2026-53539 fastapiexpert python-multipart: Uncontrolled Resource Consumption

7.5 highEPSS 0.5%Fix available

High (7.5) in fastapiexpert python-multipart. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in python-multipart 0.0.30.

On this page
Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, when parsing application/x-www-form-urlencoded bodies, QuerystringParser located the field separator with a two step lookup: it first scanned the entire remaining buffer for &, and only when no & existed anywhere ahead did it fall back to scanning for ;. For a body that uses ; as the separator and contains no &, every field iteration performed a full failed & scan over the entire remaining buffer before locating the nearby ;. With N semicolon separated fields in a chunk of size B, this yields O(B^2) byte comparisons per chunk. An attacker can submit a small crafted body of the form a;a;a;... and cause the parser to spend seconds of CPU per request. A handful of concurrent requests can exhaust worker processes. This vulnerability is fixed in 0.0.30.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-06-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-53539 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-53539?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-53539?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-53539 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
fastapiexpert:python-multipartbefore 0.0.30

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5rvq-cxj2-64vfPyPIpython-multipart<0.0.300.0.30
PYSEC-2026-3036PyPIpython-multipart<0.0.300.0.30

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13python-multipartno fix listedDEBIAN-CVE-2026-53539
Debian14python-multipart0.0.32-1DEBIAN-CVE-2026-53539
Ubuntu25.10, 26.04:LTS, 26.10 and 2 morepython-multipartno fix listedUBUNTU-CVE-2026-53539
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-python-multipart0.0.20-160000.5.1SUSE-SU-2026:22372-1
openSUSELeap 16.0python-python-multipart0.0.20-160000.5.1openSUSE-SU-2026:21066-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw was found in python-multipart. When parsing `application/x-www-form-urlencoded` bodies, `QuerystringParser` used a two-step separator lookup that scanned the entire remaining buffer for `&` before falling back to `;`. For bodies using `;` as the separator with no `&`, this yields O(B²) byte comparisons per chunk. An attacker can submit a small crafted body to cause the parser to spend seconds of CPU per request, exhausting worker processes with a handful of concurrent requests. This is the same root cause as CVE-2026-53538 (parser differential), both fixed in python-multipart 0.0.30.

Red Hat's mitigation

Upgrade to python-multipart 0.0.30 or later, which treats only & as a field separator per the WHATWG URL standard. ; is parsed as ordinary field data, matching urllib.parse, browsers, and other compliant parsers.

Deployments that enforce request body size limits, rate limiting, and load balancing make exploitation much harder.

ProductPackageStateAdvisory
Exploit Intelligencepython-multipartFix deferred
Lightspeed Corepython-multipartNot affected
Migration Toolkit for Applications 8python-multipartFix deferred
OpenShift Lightspeedpython-multipartFix deferred
Red Hat AI Inference Serverpython-multipartFix deferred
Red Hat Ansible Automation Platform 2python-multipartFix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3python-multipartFix deferred
Red Hat Enterprise Linux command line assistantpython-multipartNot affected
Red Hat Hardened ImagesjaegerNot affected
Red Hat OpenShift AI (RHOAI)python-multipartFix deferred
Red Hat OpenShift Virtualization 4python-multipartFix deferred
Red Hat Satellite 6python-multipartFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-53539.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON