Improper Validation of Specified Quantity in Input Affecting python313-python-multipart package, versions <0.0.20-160000.5.1


Severity

Recommended
0.0
low
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.22% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES1600-PYTHON313PYTHONMULTIPART-17781154
  • published2 Jul 2026
  • disclosed26 Jun 2026

Introduced: 26 Jun 2026

CVE-2026-53540  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

Upgrade SLES:16.0.0 python313-python-multipart to version 0.0.20-160000.5.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python313-python-multipart package and not the python313-python-multipart package as distributed by SLES. See How to fix? for SLES:16.0.0 relevant fixed versions and status.

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 Base Scores

version 3.1