Allocation of Resources Without Limits or Throttling Affecting python-multipart package, versions [,0.0.27)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYTHONMULTIPART-16438952
  • published7 May 2026
  • disclosed6 May 2026
  • creditSinhSinh An,intadd

Introduced: 6 May 2026

NewCVE-2026-42561  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade python-multipart to version 0.0.27 or higher.

Overview

python-multipart is an A streaming multipart parser for Python

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling when parsing multipart headers in MultipartParser, which can hang without failing in the following states: HEADER_FIELD_START, HEADER_FIELD, HEADER_VALUE_START, HEADER_VALUE, and HEADER_VALUE_ALMOST_DONE. An attacker can cause excessive CPU consumption and disrupt service availability by sending requests with either a very large individual header value or numerous repeated headers without terminating the header block.

CVSS Base Scores

version 4.0
version 3.1