Improper Validation of Specified Quantity in Input Affecting litellm-1.82 package, versions <1.82.3-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.22% (12th 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-MINIMOSLATEST-LITELLM182-17741561
  • published1 Jul 2026
  • disclosed22 Jun 2026

Introduced: 22 Jun 2026

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

How to fix?

Upgrade Minimos:latest litellm-1.82 to version 1.82.3-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream litellm-1.82 package and not the litellm-1.82 package as distributed by Minimos. See How to fix? for Minimos:latest 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