Infinite loop 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.42% (38th 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 Infinite loop vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-AIOHTTP-22606111
  • published19 Nov 2026
  • disclosed16 Nov 2026
  • creditAxel Mierczuk

Introduced: 16 Nov 2026

NewCVE-2026-128130  (opens in a new tab)
CWE-770  (opens in a new tab)
CWE-835  (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 Infinite loop via the pure-Python HTTP parser (http_parser.py) when the pipelined request queue is full. When a handler declines an upgrade request, the parser stores the unparsed remainder in self._tail and also returns it to the caller, causing the data to be re-fed on each subsequent request. This results in unbounded buffer growth (excessive memory consumption) and already-handled requests being dispatched to the application more than once.

Note: This is only exploitable when the pure-Python parser is in use, which requires the AIOHTTP_NO_EXTENSIONS environment variable to be set or a non-standard (non-wheel) installation.

CVSS Base Scores

version 4.0
version 3.1