3.7

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

Analyzed
AliasesGHSA-v9pg-7xvm-68hfPYSEC-2026-3040UBUNTU-CVE-2026-53540
Published 22-06-2026Last modified 22-06-2026

Vulnerability summary

CVE-2026-53540 is a low (CVSS 3.7) vulnerability in fastapiexpert python-multipart. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.7/10
010
Low · v3.1 (CVE.org)
EPSS score
0.23%
0%100%
Low · -0.11 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 4

Timeline

  1. 22-06-2026
    PublishedVulnerability first disclosed.
  2. 22-06-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

Decrease -0.11 pp

From 0.34% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard9 products
  • airflow-2All versions (No fix recorded)
  • airflow-3< 3.2.2-r7
  • airflow-core-2All versions (No fix recorded)
  • airflow-core-3< 3.2.2-r3 | < 3.2.2-r7
  • airflow-postgres-fips-3< 3.2.2-r5
Debian1 product
  • python-multipartAll versions (No fix recorded) | < 0.0.32-1
Fastapiexpert1 product
Kludex1 product
PyPI1 product
  • python-multipart< 0.0.31
Ubuntu1 product
  • python-multipartAll versions (No fix recorded)
Wolfi1 product
  • airflow-3< 3.2.2-r7

7 vendors · 15 products

References

9 links