CVE-2026-59881 · MEDIUM
Summary: AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate
Details
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.
Severity
MEDIUM — vector 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
Affected packages
- PyPI aiohttp [0 – 3.14.2]
- GIT github.com/aio-libs/aiohttp [0 – c1b9212ad3d93c24b5fc66ad0849597166bc816e]
References
- http://github.com/aio-libs/aiohttp/releases/tag/v3.14.2
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59881.json
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mq44-7p77-q5h7
- https://nvd.nist.gov/vuln/detail/CVE-2026-59881
- https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6
- https://github.com/aio-libs/aiohttp/pull/12978