Inefficient Algorithmic Complexity 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.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-22606106
  • published19 Nov 2026
  • disclosed16 Nov 2026
  • creditLiem Luttrell

Introduced: 16 Nov 2026

NewCVE-2026-128131  (opens in a new tab)
CWE-407  (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 Inefficient Algorithmic Complexity in the decompression handling of ConcatDecompressionHandler (and the WebSocket reader), when processing a payload composed of many concatenated compressed members (gzip, deflate, or zstd), each member boundary causes the entire remaining input buffer to be passed to a new decompressor instance, resulting in quadratic CPU time. Because empty members produce no output, the client_max_size limit and output backpressure do not constrain the work performed. An attacker can block the event loop of a server by sending a compressed request body or WebSocket message with a large number of concatenated members, and a malicious server can exploit the same path against a client.

CVSS Base Scores

version 4.0
version 3.1