Loop with Unreachable Exit Condition ('Infinite Loop') Affecting py3-aiohttp package, versions <3.13.3-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (19th 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-ALPINE323-PY3AIOHTTP-14913802
  • published12 Jan 2026
  • disclosed6 Jan 2026

Introduced: 6 Jan 2026

CVE-2025-69227  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 py3-aiohttp to version 3.13.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-aiohttp package and not the py3-aiohttp package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Versions 3.13.2 and below allow for an infinite loop to occur when assert statements are bypassed, resulting in a DoS attack when processing a POST body. If optimizations are enabled (-O or PYTHONOPTIMIZE=1), and the application includes a handler that uses the Request.post() method, then an attacker may be able to execute a DoS attack with a specially crafted message. This issue is fixed in version 3.13.3.

CVSS Base Scores

version 3.1