CVE catalog

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 n

[CVE catalog]

Severity
Low · CVSS 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.34% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-multipartsid0.0.32-1fixed
Debianpython-multipartforky0.0.32-1fixed
Debianpython-multiparttrixie0.0.20-1.1~deb13u1vulnerable
Debianpython-multipartbookworm0.0.5-3vulnerable
Cpepython-multipartNot reportedNot reportedvulnerable
Cpepython-multipartNot reported0.0.31fixed
PyPIpython-multipartNot reported0.0.31fixed
Cpepython-multipartNot reported0.0.31fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-multipartsourcesid0.0.32-1not yet assignedNot reported[1140628]
Debianpython-multipartsourceforky0.0.32-1not yet assignedNot reported[1140628]
Debianpython-multipartsourcetrixie(unfixed)not yet assignedNot reported[1140628]
Debianpython-multipartsourcebookworm(unfixed)not yet assignedNot reported[1140628]
Cpepython-multipartcpeNot reported0.0.31Not reportedNot reportedNot reported
PyPIpython-multipartPyPINot reported0.0.31Not reportedGHSA-V9PG-7XVM-68HFNot reported
Cpepython-multipartcpeNot reported0.0.31Not reportedNVD-CVE-2026-53540Not reported

[Debian bug #1140628]

Notes

[trixie] python-multipart: Minor issue [bookworm] python-multipart: Minor issue; negative Content-Length unvalidated in parse_form(), which starlette/fastapi do not use

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [python-multipart]

    Details (2)
    • 0.0.5-3 · all · bookworm

      Affected

      nvd · python-multipart · debian · bookworm; nvd · python-multipart · debian · 12

    • 0.0.5-3 · all · bookworm

      Affected

      nvd · python-multipart · debian · bookworm; nvd · python-multipart · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-multipart]

    Details (2)
    • 0.0.20-1.1~deb13u1 · all · trixie

      Affected

      nvd · python-multipart · debian · 13

    • 0.0.20-1.1~deb13u1 · all · trixie

      Affected

      nvd · python-multipart · debian · 13

Observed:

References