Live threats

All CVEs / Fastapiexpert

CVE-2026-53540Fastapiexpert Python-multipart

Low 3.7 No auth needed

Priority
37
CVSS 3.1
3.7
EPSS
—
Auth required
No
Published
Jun 22, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1284
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python-multipart.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI python-multipart < 0.0.31 0.0.31 pip install "python-multipart>=0.0.31"
PyPI python-multipart < 0.0.31 0.0.31 pip install "python-multipart>=0.0.31"

Per OSV / GitHub Advisories (GHSA-v9pg-7xvm-68hf, PYSEC-2026-3040). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
fastapiexpertpython-multipart< 0.0.31

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.