AIOHTTP versions from 3.4.2 up to but not including 3.10.0 have a vulnerability in the WebSocket reader where the receive queue limits can be bypassed by small or compressed messages. This occurs because the reader continues parsing frames already received after the receive queue has paused the transport, and empty messages are not counted towards the queue size. When permessage-deflate compression is used, a single read of compressed frames can add many megabytes of decompressed messages to the queue. This can lead to excessive memory consumption on the server or client side.