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

Published Jul 30, 2026
·
Updated

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

Other sources

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.

NVD

Affected Software

2 affected componentsFixes available
aiohttp aiohttp<3.14.2
pip/aiohttp<=3.14.1
3.14.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/aiohttp to a version that resolves this vulnerability.

    Fixed in 3.14.2
  2. Upgrade

    Upgrade aiohttp to a version that resolves this vulnerability.

    Fixed in 3.14.2Patch 47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6

Event History

Jul 30, 2026
CVE Published
via MITRE·05:34 PM
Data Sourced
via MITRE·05:34 PM
DescriptionWeakness
Data Sourced
via NVD·07:18 PM
DescriptionSeverityWeakness
Aug 3, 2026
Advisory Published
via GitHub·08:40 PM
Data Sourced
via GitHub·08:40 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-59881?

The severity of CVE-2026-59881 is medium with a CVSS score of 6.9.

2

How do I fix CVE-2026-59881?

To fix CVE-2026-59881, upgrade to aiohttp version 3.14.2 or later where the vulnerability is patched.

3

What is the impact of CVE-2026-59881?

The impact of CVE-2026-59881 is that it may lead to unexpected CPU or memory consumption due to decompressing WebSocket frames that were not negotiated for decompression.

4

What is the nature of the vulnerability in CVE-2026-59881?

CVE-2026-59881 involves input validation issues where a WebSocket client decompressed frames with the RSV1 bit set without the necessary negotiation.

5

Is CVE-2026-59881 exploitable remotely?

Yes, CVE-2026-59881 is remotely exploitable since it involves the WebSocket client accepting frames over the network.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203