VAITP Dataset

← Back to the dataset

CVE-2026-111064

Idle connections can stay open indefinitely, exhausting server resources.

  • CVSS 8.2
  • CWE-770
  • Resource Management
  • Remote

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, keepalive timeout handling is absent during the initial portion of a request. An attacker can keep an idle connection open indefinitely before sending any request data, consuming server connection capacity. This issue is fixed in version 3.14.4.

CVSS base score
8.2
Published
2026-10-19
OWASP
A04 Insecure Design
Orthogonal defect classification
Timing/Serialization
Code defect classification
Timing Issues
Category
Resource Management
Subcategory
Resource Exhaustion
Accessibility scope
Remote
Impact
Denial of Service (DoS)
Affected component
aiohttp
Fixed by upgrading
Yes

Solution

Upgrade aiohttp to version 3.14.4 or later.

Vulnerable code sample

import asyncio
from aiohttp import web

async def echo(request):
    data = await request.text()
    return web.Response(text=data)

app = web.Application()
app.router.add_post('/echo', echo)

# VULNERABLE: missing keepalive timeout allows idle connections to linger
web.run_app(app, host='0.0.0.0', port=8080)

Patched code sample

import asyncio
from aiohttp import web

async def echo(request):
    data = await request.text()
    return web.Response(text=data)

app = web.Application()
app.router.add_post('/echo', echo)

# FIX: enforce keepalive timeout to prevent idle connection exhaustion
web.run_app(app, host='0.0.0.0', port=8080, keepalive_timeout=75)

Published fix

Public sources link this CVE to the changes below. The code samples above were generated to illustrate the defect; these links lead to the code the project actually changed.

Cite this entry

@misc{vaitp:cve2026111064,
  title        = {{Idle connections can stay open indefinitely, exhausting server resources.}},
  author       = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
  year         = {2026},
  note         = {VAITP Python Vulnerability Dataset, entry CVE-2026-111064},
  howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-111064/}}
}

Download this entry as JSON Download the whole dataset

Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.

The supreme art of war is to subdue the enemy without fighting.

Sun Tzu – “The Art of War”

:: Shaping the future through research and ingenuity ::

Before you use the VAITP AI models

Please read and accept the following disclaimer:

By choosing "I understand and accept", you acknowledge that you understand and agree to these terms.