ADVISORIES

Vulnerability

CVE-2026-53540

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.

25 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • CGA-3382-rhvh-9f79
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-45c4-m7hj-cff8
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-4rm4-578x-gcjv
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-5xqq-pgjh-f7wf
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-6h28-fxf7-r394
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-6qw2-g8wv-hf2p
    CVE-2026-53540 ChainguardWolfi Updated 5 November 2026
  • CGA-7hqh-c5m9-rjqg
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-7j8q-c5cf-jx67
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-7rcc-4c57-73c9
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-84gq-x7q6-75w4
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-grwp-xh58-w2cj
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-pgcr-w66r-q392
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-phr5-wc2v-hgrf
    CVE-2026-53540 ChainguardWolfi Updated 5 November 2026
  • CGA-pv94-g4hj-8r8x
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-q58q-7h6w-c2mp
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-qc86-xv3f-2ff4
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-vjvg-8p7v-6q95
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • CGA-wqrf-m69v-8vhr
    CVE-2026-53540 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-53540

    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…

    CVE-2026-53540 Debian Updated 26 October 2026
  • GHSA-v9pg-7xvm-68hf

    python-multipart: Negative Content-Length in parse_form buffers the entire body in memory

    Low CVE-2026-53540 PyPI Updated 10 September 2026
  • PYSEC-2026-3040

    python-multipart: Negative Content-Length in parse_form buffers the entire body in memory

    CVE-2026-53540 PyPI Updated 13 July 2026
  • SUSE-SU-2026:22372-1

    Security update for python-python-multipart

    CVE-2026-53537CVE-2026-53538CVE-2026-53539CVE-2026-53540 SUSE Updated 2 July 2026
  • UBUNTU-CVE-2026-53540

    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…

    CVE-2026-53540 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:11099-1

    python311-python-multipart-0.0.32-1.1 on GA media

    CVE-2026-53537CVE-2026-53538CVE-2026-53540 openSUSE Updated 24 June 2026
  • openSUSE-SU-2026:21066-1

    Security update for python-python-multipart

    CVE-2026-53537CVE-2026-53538CVE-2026-53539CVE-2026-53540 openSUSE Updated 30 June 2026

References