Improperly Controlled Sequential Memory Allocation Affecting aiohttp package, versions [,3.14.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (45th 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-PYTHON-AIOHTTP-22606104
  • published19 Nov 2026
  • disclosed16 Nov 2026
  • creditSyed Mohammad Ibrahim

Introduced: 16 Nov 2026

NewCVE-2026-128125  (opens in a new tab)
CWE-1325  (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 Improperly Controlled Sequential Memory Allocation via unbounded cookie storage in CookieJar. Set-Cookie parsing creates additional cookies from unrecognised name=value attributes, and CookieJar has no limit on the number of cookies stored or sent. A malicious server can cause a client to store a very large number of cookies, leading to excessive memory and CPU use repeated on every redirect, and causing later requests to the same domain to build an excessively large Cookie header.

CVSS Base Scores

version 4.0
version 3.1