AIOHTTP versions 3.9.1 up to but not including 4.0.0 have a vulnerability where data received during an HTTP upgrade request (such as a WebSocket handshake) is buffered without limit until the upgrade handler completes. This can lead to unbounded memory consumption if an attacker streams excessive data behind the upgrade request. The issue is fixed in version 4.0.0.