AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate
aio-libs aiohttp
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| aiohttp PyPI |
|
|
Original description
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.
From the CVE record · GitHub_M
References
- github.com/aio-libs/aiohttp/security/advisories/GHSA-mq44-7p77-q5h7
- github.com/aio-libs/aiohttp/pull/12978
- github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6
- github.com/aio-libs/aiohttp/releases/tag/v3.14.2
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59881.json
- nvd.nist.gov/vuln/detail/CVE-2026-59881
- github.com/aio-libs/aiohttp
- pypi.org/project/aiohttp
- github.com/advisories/GHSA-mq44-7p77-q5h7