Allocation of Resources Without Limits or Throttling Affecting aiohttp package, versions [,3.14.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.55% (47th 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-AIOHTTP-22606108
  • published19 Nov 2026
  • disclosed16 Nov 2026
  • creditafldl

Introduced: 16 Nov 2026

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

How to fix?

Upgrade aiohttp to version 3.14.4 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via BodyPartReader.read_chunk() when processing a multipart part with Content-Transfer-Encoding: base64. The method kept reading data until the accumulated chunk length was a multiple of 4, with no byte limit enforced. A multipart request containing a part with a short Content-Length or a long run of whitespace can cause the entire remaining body to be read into memory within a single call before any size check is applied, bypassing client_max_size and causing excessive memory consumption, or can spin on the event loop causing it to block.

CVSS Base Scores

version 4.0
version 3.1