CVE-2026-59881
JSON

6.9medium

AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate

Severity
6.9medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mq44-7p77-q5h7PYSEC-2026-3547

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.

Affected

Product or packageVersionsReported by
aio-libs aiohttp< 3.14.2CVE List
aiohttp (PyPI)before 3.14.2GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Summary

The client accepts and decompresses frames with the RSV1 bit set even when the permessage-deflate extension was not negotiated.

Impact

A client may unexpectedly decompress WebSocket frames when explicitly opted out. This could lead to additional CPU/memory consumption, but is unlikely to be a significant issue unless a zip bomb vulnerability or similar is also present.


Patch: https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6

NVD (es)

AIOHTTP es un framework HTTP cliente/servidor asíncrono para asyncio y Python. Antes de la versión 3.14.2, el cliente WebSocket acepta y descomprime tramas con el bit RSV1 activado incluso cuando la extensión permessage-deflate no fue negociada, permitiendo que un servidor malicioso cause un consumo inesperado de CPU y memoria. Este problema está solucionado en la versión 3.14.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59881 changed 2026-07-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-mq44-7p77-q5h7 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-59881 changed 2026-10-23Public domain
PyPA Advisory DatabasePYSEC-2026-3547 changed 2026-08-04CC-BY-4.0