SB20261007211 - Multiple vulnerabilities in aiohttp
Published: October 7, 2026 Updated: November 16, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 17 vulnerabilities.
1) Inefficient regular expression complexity (CVE-ID: CVE-2026-128124)
CWE-ID: CWE-1333 - Inefficient Regular Expression Complexity
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to stall an aiohttp server's event loop and deny service to clients.
The vulnerability exists due to inefficient regular expression matching in Application.add_domain() when a registered domain mask contains two or more wildcards. An unauthenticated remote attacker can send requests with a long, nonmatching Host header to trigger polynomial-time processing and block the event loop.
2) Inefficient Algorithmic Complexity (CVE-ID: CVE-2026-128131)
CWE-ID: CWE-407 - Inefficient Algorithmic Complexity
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause excessive CPU use and block the event loop of an aiohttp server or client.
The vulnerability exists due to quadratic decompression work in aiohttp when processing many concatenated compressed members, including empty members that evade output limits. An unauthenticated remote attacker can submit crafted request bodies or WebSocket messages, or serve malicious responses to a connecting client, to trigger the blocking.
3) Resource exhaustion (CVE-ID: CVE-2026-128132)
CWE-ID: CWE-400 - Resource exhaustion
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause excessive memory use in aiohttp WebSocket servers or clients.
The vulnerability exists due to aiohttp's WebSocket reader continuing to parse received frames after the receive queue pauses the transport. An unauthenticated remote attacker can send small messages, or compressed messages with permessage-deflate enabled, faster than the application consumes them to grow a server's queue or a connected client's queue beyond its intended limits.
4) Allocation of Resources Without Limits or Throttling (CVE-ID: CVE-2026-128128)
CWE-ID: CWE-770 - Allocation of Resources Without Limits or Throttling
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause unbounded memory use by bypassing aiohttp's WebSocket message size limit.
The vulnerability exists due to an integer overflow in the C extension's WebSocket reader when adding a large declared frame length to the buffered partial message size. An unauthenticated remote attacker can send a small non-final fragment followed by an oversized WebSocket message to bypass the max_msg_size check and continue consuming memory.
5) Allocation of Resources Without Limits or Throttling (CVE-ID: CVE-2026-128129)
CWE-ID: CWE-770 - Allocation of Resources Without Limits or Throttling
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause unbounded memory consumption in an aiohttp server during upgrade handling.
The vulnerability exists due to buffering without size limits or flow control while an upgrade request handler has not completed. An unauthenticated remote attacker can stream data after an upgrade request to a handler that does not immediately accept or reject the upgrade, causing received data to accumulate in memory.
6) Allocation of Resources Without Limits or Throttling (CVE-ID: CVE-2026-128130)
CWE-ID: CWE-770 - Allocation of Resources Without Limits or Throttling
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause excessive memory consumption and repeated processing of HTTP requests.
The vulnerability exists due to duplicate buffering in aiohttp's pure-Python HTTP parser when a full pipelined request queue is followed by a declined upgrade. An unauthenticated remote attacker can send an upgrade request with pipelined requests to servers configured to use the Python parser, causing buffered requests to be replayed and memory use to grow.
7) Resource exhaustion (CVE-ID: CVE-2026-128127)
CWE-ID: CWE-400 - Resource exhaustion
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause excessive memory consumption or block the event loop in aiohttp servers.
The vulnerability exists due to unbounded reads before size checks when aiohttp processes base64-encoded multipart parts containing a short declared content length or prolonged whitespace. An unauthenticated remote attacker can submit a crafted request to a handler that reads multipart data and bypass client_max_size limits.
8) Inefficient Algorithmic Complexity (CVE-ID: CVE-2026-128126)
CWE-ID: CWE-407 - Inefficient Algorithmic Complexity
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to block an aiohttp server's event loop and disrupt request processing.
The vulnerability exists due to a missing field-count limit in URL-encoded form parsing by Request.post(), causing quadratic processing time for repeated keys. An unauthenticated remote attacker can submit a form POST within the default client_max_size to a handler that calls Request.post() and stall the event loop.
9) Improperly Controlled Sequential Memory Allocation (CVE-ID: CVE-2026-128125)
CWE-ID: CWE-1325 - Improperly Controlled Sequential Memory Allocation
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause excessive memory and CPU use in an aiohttp client.
The vulnerability exists due to unbounded CookieJar storage and Set-Cookie parsing that creates extra cookies from unrecognized name=value attributes in server responses. An unauthenticated remote attacker can supply these responses from a server the client contacts, causing repeated resource consumption on redirects and excessively large Cookie headers in later requests to the same domain.
10) Reliance on Untrusted Inputs in a Security Decision (CVE-ID: CVE-2026-111748)
CWE-ID: CWE-807 - Reliance on Untrusted Inputs in a Security Decision
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass application security logic.
The vulnerability exists due to reliance on untrusted inputs in a security decision in aiohttp's Request.scheme attribute when processing absolute-form request targets. A remote attacker can send an absolute-form request with a spoofed scheme that makes the application misidentify whether a connection is encrypted to bypass application security logic.
Exploitation requires application code that depends on the Request.scheme attribute for security decisions.
11) Allocation of Resources Without Limits or Throttling (CVE-ID: CVE-2026-123817)
CWE-ID: CWE-770 - Allocation of Resources Without Limits or Throttling
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause a denial of service through resource exhaustion.
The vulnerability exists due to allocation of resources without limits or throttling in aiohttp when processing attacker-controlled requests. A remote attacker can send specially crafted requests to cause a denial of service through excessive or unbounded memory use or excessive CPU consumption.
12) Allocation of Resources Without Limits or Throttling (CVE-ID: CVE-2026-111066)
CWE-ID: CWE-770 - Allocation of Resources Without Limits or Throttling
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to exhaust file descriptors and cause resource exhaustion.
The vulnerability exists due to allocation of file descriptors without limits in Request.post() when processing multipart requests. A remote attacker can send specially crafted multipart requests to exhaust file descriptors and cause resource exhaustion.
13) Inconsistent interpretation of HTTP requests (CVE-ID: CVE-2026-111750)
CWE-ID: CWE-444 - Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to smuggle HTTP requests.
The vulnerability exists due to improper HTTP request parsing in the aiohttp pure-Python parser when processing HTTP requests. A remote attacker can send crafted HTTP requests to smuggle HTTP requests.
Exposure requires use of the Python parser, including configurations using AIOHTTP_NO_EXTENSIONS or installations without a standard wheel.
14) Origin validation error (CVE-ID: CVE-2026-111749)
CWE-ID: CWE-346 - Origin Validation Error
CVSSv4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to remove host-only protections from an existing parent-domain cookie.
The vulnerability exists due to improper enforcement of cookie origin restrictions in aiohttp cookie handling when processing cookies from a subdomain. A remote attacker can supply a cookie from an untrusted subdomain to remove host-only protections from an existing parent-domain cookie.
Exploitation requires a user to access the untrusted subdomain. Most use cases do not reflect these cookies to a browser, limiting the practical impact.
15) Integer overflow (CVE-ID: CVE-2026-111065)
CWE-ID: CWE-190 - Integer overflow
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to temporarily exhaust the connection pool.
The vulnerability exists due to an overflow in Max-Age processing when handling Max-Age values. A remote attacker can trigger an overflow that prevents a connection from closing to temporarily exhaust the connection pool.
Garbage collection eventually resolves the unclosed connections.
16) Missing Release of Resource after Effective Lifetime (CVE-ID: CVE-2026-111064)
CWE-ID: CWE-772 - Missing Release of Resource after Effective Lifetime
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to keep idle connections open indefinitely.
The vulnerability exists due to a missing initial request/header timeout in the aiohttp server when waiting for initial request data. A remote attacker can open a connection without sending any data to keep idle connections open indefinitely.
17) Missing Encryption of Sensitive Data (CVE-ID: CVE-2026-111063)
CWE-ID: CWE-311 - Missing Encryption of Sensitive Data
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to disclose sensitive cookie data.
The vulnerability exists due to missing enforcement of the Secure attribute in aiohttp shared-cookie handling when sending unencrypted requests. A remote attacker can send a shared cookie marked Secure in an unencrypted request to disclose sensitive cookie data.
Remediation
Install update from vendor's website.
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jm3w-gw2p-xjfj
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-h4cc-hm5h-fmm9
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5rmc-48h2-hvcm
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pw86-h8fm-j323
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-28qf-cpwq-vmc2
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-24c4-3p7v-29cm
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xgw8-8ccx-rmqh
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-f9xw-jh8m-3mwq
- https://github.com/aio-libs/aiohttp/commit/6d4e7b01f9b951aa084a75d7356e907d4ee80411
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9xw5-w5jj-pvcg
- https://github.com/aio-libs/aiohttp/commit/2d94633b7f1b4c1ba07d647b629a8440652b2d09
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pqxq-w44r-73xw
- https://github.com/aio-libs/aiohttp/commit/9b27347e61454d9f8ca2055f4c67a37dee336e83
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gx76-c99x-2c96
- https://github.com/aio-libs/aiohttp/commit/6a07c171ef9f3be583e2907dcd1931372efca8d6
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6cjc-53gc-5rqm
- https://github.com/aio-libs/aiohttp/commit/9dd8eaf4e31f1237ef2c1574a8c82a739fca5805
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5wr8-gcqf-gqf3
- https://github.com/aio-libs/aiohttp/commit/be846822b4b3a5a54b6163e794b42dc06fba54a3
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-494j-54xm-rwp3
- https://github.com/aio-libs/aiohttp/commit/999c356d61e966faffa97b06ab0d0455226d36c5