Summary
When decompressing a payload made up of many concatenated compressed members (gzip, deflate or zstd), each member was decoded by passing the entire remaining input to a new decompressor, resulting in quadratic CPU time. Empty members produce no output, so clientmaxsize and output backpressure did not limit the work.
Impact
An attacker could block the event loop of a server with a specially crafted compressed request body or WebSocket message. A malicious server could do the same to a client.
---
Patch: https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db
Summary
When decompressing a payload made up of many concatenated compressed members (gzip, deflate or zstd), each member was decoded by passing the entire remaining input to a new decompressor, resulting in quadratic CPU time. Empty members produce no output, so clientmaxsize and output backpressure did not limit the work.
Impact
An attacker could block the event loop of a server with a specially crafted compressed request body or WebSocket message. A malicious server could do the same to a client.
---
Patch: https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db
Summary
The WebSocket reader continued parsing frames already received after the receive queue had paused the transport, and empty messages were not counted towards the queue size. With permessage-deflate, a single read of compressed frames could add many megabytes of decompressed messages to the queue.
Impact
An attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending many small or compressed messages faster than the application consumes them.
---
Patch: https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6
Summary
The WebSocket reader continued parsing frames already received after the receive queue had paused the transport, and empty messages were not counted towards the queue size. With permessage-deflate, a single read of compressed frames could add many megabytes of decompressed messages to the queue.
Impact
An attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending many small or compressed messages faster than the application consumes them.
---
Patch: https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6
Summary
When the pipelined request queue was full, the pure-Python parser stored the unparsed remainder internally and also returned it to the caller. After a handler declined an upgrade request, the buffered data was re-fed, so the buffer grew with each handled request and already-handled requests were dispatched to the application again.
Impact
If users are using the Python parser (AIOHTTPNOEXTENSIONS, or not a standard wheel installed), an attacker could cause excessive memory use and cause pipelined requests to be processed more than once.
Workaround
Switch to the default C parser.
---
Patch: https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7
Summary
While a request flagged as an upgrade (e.g. a WebSocket handshake) was being handled, all further data received on the connection was buffered with no size limit or flow control until the handler completed.
Impact
An attacker could cause unbounded memory use by streaming data behind an upgrade request to any handler that does not immediately accept or reject the upgrade.
---
Patch: https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df
Summary
While a request flagged as an upgrade (e.g. a WebSocket handshake) was being handled, all further data received on the connection was buffered with no size limit or flow control until the handler completed.
Impact
An attacker could cause unbounded memory use by streaming data behind an upgrade request to any handler that does not immediately accept or reject the upgrade.
---
Patch: https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df
Summary
When the pipelined request queue was full, the pure-Python parser stored the unparsed remainder internally and also returned it to the caller. After a handler declined an upgrade request, the buffered data was re-fed, so the buffer grew with each handled request and already-handled requests were dispatched to the application again.
Impact
If users are using the Python parser (AIOHTTPNOEXTENSIONS, or not a standard wheel installed), an attacker could cause excessive memory use and cause pipelined requests to be processed more than once.
Workaround
Switch to the default C parser.
---
Patch: https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7
Summary The Python HTTP parser may allow a request smuggling attack with the presence of non-ASCII characters.
Impact If a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or AIOHTTPNOEXTENSIONS is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.
------
Patch: https://github.com/aio-libs/aiohttp/commit/32677f2adfd907420c078dda6b79225c6f4ebce0
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Versions 3.13.2 and below of the Python HTTP parser may allow a request smuggling attack with the presence of non-ASCII characters. If a pure Python version of AIOHTTP is installed (i.e. without the usual C extensions) or AIOHTTPNOEXTENSIONS is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections. This issue is fixed in version 3.13.3.
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.2, the WebSocket client accepts and decompresses frames with the RSV1 bit set even when the permessage-deflate extension was not negotiated, allowing a malicious server to cause unexpected CPU and memory consumption. This issue is fixed in version 3.14.2.
Also getting this off-list:
Ur just mad cause that one is a fix on your work font feel beat up matt had one for drop bear too. Llm generated nah 😂 real human in the loop fixing your work its okay 😋 Sent from Proton Mail for Android.
So, supposedly not even a bot, just an immature individual that refuses to follow security reporting practices, and lacks sufficient knowledge to validate their AI research.
In response to that message: You haven't fixed anything, you've just (incorrectly) reported an issue without even reporting it to the project where it might be fixed. Incorrectly, because as I said, this is an explicit design, not a vulnerability, there's nothing to fix here.
On Sun, 2026-11-22 at 14:30 +0000, Sam Bull wrote: Adding to the previous conversations, I'm strongly in favour of banning this bot.
This output is garbage. Firstly, what is anyone on this list supposed to do with this information? We've published around 40 CVEs this year, and it's picked one of the lowest severity ones to pick at. There is no useful information on here for a user to do, and if I wasn't subscribed to this list, the information would likely never have even made it to the project. It could also have been described in one sentence, it didn't need 10 paragraphs.
Secondly, what it describes is an explicit design. If it had bothered to go through the security reporting procedures then this is documented (e.g. in mitigation 1.2 of our threat model). The response parser is lenient; making it as strict as the request parser (which is the real vector for request smuggling attacks) would just result in a large number of HTTP requests failing and users filing hundreds of bugs.
Sam
On Sun, 2026-11-22 at 03:22 -0500, theknell () duck com wrote: Half a fix.
In January 2026 aiohttp fixed CVE-2025-69224, rated low: Unicode processing of header values could cause parsing discrepancies. The fix rejected non-ASCII characters in some headers. It was applied to the parser that receives requests. The parser that receives responses — the same check, one class further down the same file — was not touched, and ten months later it still has not been.
Tested against aio-libs/aiohttp at commit fe099491d275ef2c21bf683e024e34d51ac05d43 (2026-11-13), full history reviewed:
1. The hardening (commit 5affd64f86d28a16a8f8e6fea2d217c99bf7831f, 2026-01-02, "Reject non-ascii characters in some headers") added an .isascii() guard before .lower() in HttpRequestParser.ischunkedte (aiohttp/httpparser.py:824-838). The guard carries the author's own comment: ".lower() transforms some non-ascii chars, so must check first."
2. HttpResponseParser.ischunkedte (httpparser.py:921-923) is the response-side twin — a single line, te.rsplit(",", maxsplit=1)[-1].strip(" \t").lower() == "chunked", with no .isascii() guard. A history search confirms it has never received one; a later regression fix on top of the hardening (be0278388, 2026-10-03) passed it by again.
3. The Kelvin sign, U+212A, lowercases to the ASCII letter k. So "chun\u212aed".lower() == "chunked" is True. A response carrying Transfer-Encoding with the folded value is framed as chunked by the pure-Python response parser, while the request parser raises BadHttpMessage on the identical value.
4. The C parser is not affected: llhttp matches "chunked" byte-exact. The gap is in the pure-Python parser, the active parser where the extension is absent or disabled — AIOHTTPNOEXTENSIONS=1, PyPy, and no-compiler installs.
Live proof, against our own rig only (pinned source, pure-Python parser, mock protocol): the control — the request parser — accepts ASCII "chunked" and raises BadHttpMessage on the Kelvin-folded value. The candidate — the response parser — accepts both. Control rejects, sibling accepts, replicated twice. Harness and raw log accompany the paper.
Scope, stated plainly: low severity, scored that way here, matching the vendor's own rating of the parent CVE. It is client-side. The precondition is a malicious or compromised server — or a shared intermediary — that sends the folded header: the client then frames the body as chunked where a byte-exact-matching intermediary does not, a response-framing desynchronization. Not an unauthenticated RCE, and no such class is claimed. What is claimed is narrower and fully verifiable: a security fix was applied to one of two identical checks, and the unfixed half is still open at HEAD.
What held is credited at the same weight. The request-side hardening is correct where it was applied, in both the Cython and pure-Python sources. The C parser was never vulnerable to the fold. The fix is one guard: the same .isascii() check the request parser already carries, applied in HttpResponseParser.ischunkedte.
The fix was right. It was applied to the parser that receives requests and not to the one that receives responses. Ten months on, the response parser is still folding.
Paper: https://archive.org/details/knell-half-a-fix
Key: 133883AB9F6EDE5B9BA6B82E27BEDAF0CE152F25 (knell)
Verify: gpg --import knell-public.asc, then gpg --verify paper-aiohttp-FINAL-2026-11-13.md.asc
— knell
More, signed and timestamped: https://github.com/the-knell
Adding to the previous conversations, I'm strongly in favour of banning this bot.
This output is garbage. Firstly, what is anyone on this list supposed to do with this information? We've published around 40 CVEs this year, and it's picked one of the lowest severity ones to pick at. There is no useful information on here for a user to do, and if I wasn't subscribed to this list, the information would likely never have even made it to the project. It could also have been described in one sentence, it didn't need 10 paragraphs.
Secondly, what it describes is an explicit design. If it had bothered to go through the security reporting procedures then this is documented (e.g. in mitigation 1.2 of our threat model). The response parser is lenient; making it as strict as the request parser (which is the real vector for request smuggling attacks) would just result in a large number of HTTP requests failing and users filing hundreds of bugs.
Sam
On Sun, 2026-11-22 at 03:22 -0500, theknell () duck com wrote: Half a fix.
In January 2026 aiohttp fixed CVE-2025-69224, rated low: Unicode processing of header values could cause parsing discrepancies. The fix rejected non-ASCII characters in some headers. It was applied to the parser that receives requests. The parser that receives responses — the same check, one class further down the same file — was not touched, and ten months later it still has not been.
Tested against aio-libs/aiohttp at commit fe099491d275ef2c21bf683e024e34d51ac05d43 (2026-11-13), full history reviewed:
1. The hardening (commit 5affd64f86d28a16a8f8e6fea2d217c99bf7831f, 2026-01-02, "Reject non-ascii characters in some headers") added an .isascii() guard before .lower() in HttpRequestParser.ischunkedte (aiohttp/httpparser.py:824-838). The guard carries the author's own comment: ".lower() transforms some non-ascii chars, so must check first."
2. HttpResponseParser.ischunkedte (httpparser.py:921-923) is the response-side twin — a single line, te.rsplit(",", maxsplit=1)[-1].strip(" \t").lower() == "chunked", with no .isascii() guard. A history search confirms it has never received one; a later regression fix on top of the hardening (be0278388, 2026-10-03) passed it by again.
3. The Kelvin sign, U+212A, lowercases to the ASCII letter k. So "chun\u212aed".lower() == "chunked" is True. A response carrying Transfer-Encoding with the folded value is framed as chunked by the pure-Python response parser, while the request parser raises BadHttpMessage on the identical value.
4. The C parser is not affected: llhttp matches "chunked" byte-exact. The gap is in the pure-Python parser, the active parser where the extension is absent or disabled — AIOHTTPNOEXTENSIONS=1, PyPy, and no-compiler installs.
Live proof, against our own rig only (pinned source, pure-Python parser, mock protocol): the control — the request parser — accepts ASCII "chunked" and raises BadHttpMessage on the Kelvin-folded value. The candidate — the response parser — accepts both. Control rejects, sibling accepts, replicated twice. Harness and raw log accompany the paper.
Scope, stated plainly: low severity, scored that way here, matching the vendor's own rating of the parent CVE. It is client-side. The precondition is a malicious or compromised server — or a shared intermediary — that sends the folded header: the client then frames the body as chunked where a byte-exact-matching intermediary does not, a response-framing desynchronization. Not an unauthenticated RCE, and no such class is claimed. What is claimed is narrower and fully verifiable: a security fix was applied to one of two identical checks, and the unfixed half is still open at HEAD.
What held is credited at the same weight. The request-side hardening is correct where it was applied, in both the Cython and pure-Python sources. The C parser was never vulnerable to the fold. The fix is one guard: the same .isascii() check the request parser already carries, applied in HttpResponseParser.ischunkedte.
The fix was right. It was applied to the parser that receives requests and not to the one that receives responses. Ten months on, the response parser is still folding.
Paper: https://archive.org/details/knell-half-a-fix
Key: 133883AB9F6EDE5B9BA6B82E27BEDAF0CE152F25 (knell)
Verify: gpg --import knell-public.asc, then gpg --verify paper-aiohttp-FINAL-2026-11-13.md.asc
— knell
More, signed and timestamped: https://github.com/the-knell
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Half a fix.
In January 2026 aiohttp fixed CVE-2025-69224, rated low: Unicode processing of header values could cause parsing discrepancies. The fix rejected non-ASCII characters in some headers. It was applied to the parser that receives requests. The parser that receives responses — the same check, one class further down the same file — was not touched, and ten months later it still has not been.
Tested against aio-libs/aiohttp at commit fe099491d275ef2c21bf683e024e34d51ac05d43 (2026-11-13), full history reviewed:
1. The hardening (commit 5affd64f86d28a16a8f8e6fea2d217c99bf7831f, 2026-01-02, "Reject non-ascii characters in some headers") added an .isascii() guard before .lower() in HttpRequestParser.ischunkedte (aiohttp/httpparser.py:824-838). The guard carries the author's own comment: ".lower() transforms some non-ascii chars, so must check first."
2. HttpResponseParser.ischunkedte (httpparser.py:921-923) is the response-side twin — a single line, te.rsplit(",", maxsplit=1)[-1].strip(" \t").lower() == "chunked", with no .isascii() guard. A history search confirms it has never received one; a later regression fix on top of the hardening (be0278388, 2026-10-03) passed it by again.
3. The Kelvin sign, U+212A, lowercases to the ASCII letter k. So "chun\u212aed".lower() == "chunked" is True. A response carrying Transfer-Encoding with the folded value is framed as chunked by the pure-Python response parser, while the request parser raises BadHttpMessage on the identical value.
4. The C parser is not affected: llhttp matches "chunked" byte-exact. The gap is in the pure-Python parser, the active parser where the extension is absent or disabled — AIOHTTPNOEXTENSIONS=1, PyPy, and no-compiler installs.
Live proof, against our own rig only (pinned source, pure-Python parser, mock protocol): the control — the request parser — accepts ASCII "chunked" and raises BadHttpMessage on the Kelvin-folded value. The candidate — the response parser — accepts both. Control rejects, sibling accepts, replicated twice. Harness and raw log accompany the paper.
Scope, stated plainly: low severity, scored that way here, matching the vendor's own rating of the parent CVE. It is client-side. The precondition is a malicious or compromised server — or a shared intermediary — that sends the folded header: the client then frames the body as chunked where a byte-exact-matching intermediary does not, a response-framing desynchronization. Not an unauthenticated RCE, and no such class is claimed. What is claimed is narrower and fully verifiable: a security fix was applied to one of two identical checks, and the unfixed half is still open at HEAD.
What held is credited at the same weight. The request-side hardening is correct where it was applied, in both the Cython and pure-Python sources. The C parser was never vulnerable to the fold. The fix is one guard: the same .isascii() check the request parser already carries, applied in HttpResponseParser.ischunkedte.
The fix was right. It was applied to the parser that receives requests and not to the one that receives responses. Ten months on, the response parser is still folding.
Paper: https://archive.org/details/knell-half-a-fix
Key: 133883AB9F6EDE5B9BA6B82E27BEDAF0CE152F25 (knell)
Verify: gpg --import knell-public.asc, then gpg --verify paper-aiohttp-FINAL-2026-11-13.md.asc
— knell
More, signed and timestamped: https://github.com/the-knell -----BEGIN PGP SIGNATURE-----
wnUEARYIAB0FgmsCphgWIQQTOIOrn27eW5umuC4nvtrwzhUvJQAKCRAnvtrwzhUv JUSfAP9YCyf7I9GqPOGMXDwR2Ag++cY2wlwA4zy/8dCgrYsADwEAl9WlGHxKwTCD o0ReJIdPGnFwaCV13Zhk+cPw57fhVQU= =4X+C -----END PGP SIGNATURE-----
Summary
When reading a multipart part with Content-Transfer-Encoding: base64, BodyPartReader.readchunk() kept reading until the chunk length was a multiple of 4, with no byte limit. A part with a short Content-Length, or a long run of whitespace, could cause the entire remaining body to be read into memory within a single call before any size check, or spin on the event loop.
Impact
An attacker could bypass clientmaxsize to cause excessive memory use, or block the event loop, with a specially crafted multipart request to any handler that reads multipart data.
---
Patch: https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd
Summary
When reading a multipart part with Content-Transfer-Encoding: base64, BodyPartReader.readchunk() kept reading until the chunk length was a multiple of 4, with no byte limit. A part with a short Content-Length, or a long run of whitespace, could cause the entire remaining body to be read into memory within a single call before any size check, or spin on the event loop.
Impact
An attacker could bypass clientmaxsize to cause excessive memory use, or block the event loop, with a specially crafted multipart request to any handler that reads multipart data.
---
Patch: https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd
Summary
Set-Cookie parsing created additional cookies from unrecognised name=value attributes, and CookieJar had no limit on the number of cookies stored or sent. A server could make the client store a very large number of cookies and generate very large Cookie headers.
Impact
A malicious server could cause excessive memory and CPU use in a client, repeated on every redirect, and cause later requests to the same domain to build an excessively large Cookie header.
---
Patch: https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa
Summary
Set-Cookie parsing created additional cookies from unrecognised name=value attributes, and CookieJar had no limit on the number of cookies stored or sent. A server could make the client store a very large number of cookies and generate very large Cookie headers.
Impact
A malicious server could cause excessive memory and CPU use in a client, repeated on every redirect, and cause later requests to the same domain to build an excessively large Cookie header.
---
Patch: https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa
Summary
Application.adddomain() compiled each in a host mask to [^:]. With two or more wildcards in a mask, matching a long Host header that does not match the mask took polynomial time on the event loop.
Impact
An attacker could stall a server that registers a domain mask with more than one wildcard by sending requests with a long Host header.
Workaround
Use at most one in a domain mask.
---
Patch: https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43
Summary
Application.adddomain() compiled each in a host mask to [^:]. With two or more wildcards in a mask, matching a long Host header that does not match the mask took polynomial time on the event loop.
Impact
An attacker could stall a server that registers a domain mask with more than one wildcard by sending requests with a long Host header.
Workaround
Use at most one in a domain mask.
---
Patch: https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43
Summary
Request.post() had no limit on the number of fields in a URL-encoded form body. Inserting a large number of repeated keys into a MultiDict took quadratic time on the event loop.
Impact
An attacker could block the event loop with a form POST within the default clientmaxsize to any handler that calls Request.post().
---
Patch: https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53
Summary
Request.post() had no limit on the number of fields in a URL-encoded form body. Inserting a large number of repeated keys into a MultiDict took quadratic time on the event loop.
Impact
An attacker could block the event loop with a form POST within the default clientmaxsize to any handler that calls Request.post().
---
Patch: https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53
Summary
The maxmsgsize check in the WebSocket reader added the declared frame length to the size of the partial message already buffered. In the C extension this addition is 64-bit arithmetic, so a declared length close to 263 overflowed and the check passed.
Impact
An attacker could bypass maxmsgsize and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment.
Workaround
If unable to upgrade, the Python reader is unaffected and can be used with AIOHTTPNOEXTENSIONS=1.
---
Patch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab
Summary
The maxmsgsize check in the WebSocket reader added the declared frame length to the size of the partial message already buffered. In the C extension this addition is 64-bit arithmetic, so a declared length close to 263 overflowed and the check passed.
Impact
An attacker could bypass maxmsgsize and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment.
Workaround
If unable to upgrade, the Python reader is unaffected and can be used with AIOHTTPNOEXTENSIONS=1.
---
Patch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab
Summary
While reassembling a WebSocket frame that arrived across many small transport reads, the reader kept one bytes object per read with no bound on the count. The per-object overhead is many times larger than the payload bytes, so a frame delivered a few bytes at a time could use far more memory than maxmsgsize allows.
Impact
An attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending a frame in a large number of tiny segments.
Summary
An overflow in Max-Age processing can skip closing a connection.
Impact
An attacker may be able to exhaust the connection pool temporarily, until garbage collection resolves the connections.
Summary
The keepalive timeout was not used during the initial portion of a request.
Impact
An attacker could keep an idle connection open indefinitely before sending any data.
Workaround
Use a reverse proxy (as recommended for all production deployments) with sensible keepalive limits.
Summary
The Secure attribute was not being enforced for the shared cookie.
Impact
It may be possible to send a shared cookie marked Secure through an unencrypted request.
Summary
A subdomain can remove the Host-Only flag from an existing cookie to a parent domain.
Impact
A user accessing untrusted subdomains could see their Host-Only protections stripped from cookies. Given most usecases won't reflect these cookies to a browser, the impact is limited.
Summary
An attacker sending an absolute-form request can spoof the scheme used.
Impact
If user code depends on the Request.scheme attribute for anything security related, an attacker may be able to circumvent this logic, tricking the application into thinking a connection is encrypted when it is not, or vice versa.
Workaround
A WAF rule to reject absolute-form requests (legitimate requests should only use this form for proxies).