Read the docs
TI-2026-38613 Aliases CVE-2026-53540GHSA-v9pg-7xvm-68hf

Python-Multipart: Negative Content-Length in parse_form buffers the entire body in memory

Priority LOW 18CWE-1284Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 9 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.31, parse_form() did not validate the Content-Length header before using it to bound its chunked read of the request body. A negative Content-Length turned the bounded read into a read-until-EOF, so the entire body was loaded into memory in a single read instead of in fixed-size chunks. This vulnerability is fixed in 0.0.31.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00342 27th percentileScored 2026-11-07
Fix Partial python-multipart (Kludex): 0.0.31python-multipart (PyPI): 0.0.31Red Hat: 9 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Kludexpython-multipartbefore 0.0.310.0.31Patch availableCNA
—python-multipart (PyPI)before 0.0.310.0.31Patch availableGHSA-v9pg-7xvm-68hf
  • python-multipart VendorKludex Affected before 0.0.31 Fixed in 0.0.31 Patch available CNA
  • python-multipart (PyPI) Vendor— Affected before 0.0.31 Fixed in 0.0.31 Patch available GHSA-v9pg-7xvm-68hf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*before 0.0.31VulnerableFastapiexpert
  • cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:* Versions before 0.0.31 Vulnerable ·Fastapiexpert

Remediation

  • Fix · CNA python-multipart (Kludex) Fixed in 0.0.31
  • Fix · GHSA-v9pg-7xvm-68hf python-multipart (PyPI) Fixed in 0.0.31 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Exploit IntelligenceAffectedNo fix yet: Fix deferred
Migration Toolkit for Applications 8AffectedNo fix yet: Fix deferred
OpenShift LightspeedAffectedNo fix yet: Fix deferred
Red Hat AI Inference ServerAffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Virtualization 4AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Not affected: 2 products
  • OpenShift Lightspeed
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-53540
  2. 2026-10-03 Alias added: GHSA-v9pg-7xvm-68hf

References

  • TI-2025-38917 Starlette vulnerable to O(n^2) DoS via Range header merging in starlette.responses.FileResponse CVSS 3.1HIGH 7.5
  • TI-2026-30841 Python-Multipart: Denial of Service via unbounded multipart part headers CVSS 3.1HIGH 7.5
  • TI-2024-36140 python-multipart has a Denial of service (DoS) via deformation `multipart/form-data` boundary CVSS 3.1HIGH 7.5

Sources