---
schema_version: '1.0'
id: security-20260805-933fd5
title: 'CVE-2026-59881: AIOHTTP: WebSocket client accepts compressed frames without
  negotiated permessage-deflate'
url: https://osv.dev/vulnerability/PYSEC-2026-3547
url_hash: 933fd5b1f7a693c5c7a22494dc411574b9468a463a05c43111e5c1d2c509d3fa
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-3547
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-59881
- PYSEC-2026-3547
- severity: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
- aiohttp
- PyPI
lang: en
published_at: '2026-08-04T11:34:46Z'
fetched_at: '2026-08-05T07:28:23.935626Z'
updated_at: '2026-08-22T14:33:34Z'
status: published
content_hash: 9276c4a5bae90bf7a6b3e34b8fc18f6c85d90e70c1e0fc55a90622cd1548dff2
content_changed_at: '2026-08-22T13:15:21.170826Z'
license_note: full
summary: 'AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate'
summary_source: rss
summary_en: 'AIOHTTP: WebSocket client accepts compressed frames without negotiated
  permessage-deflate'
summary_omitted_reason: null
redistribution: true
keywords_en:
- accepts
- aiohttp
- client
- compressed
- CVE
- CVE-2026-59881
- frames
- library vulnerability
- negotiated
- permessage-deflate
- PyPI
- PYSEC-2026-3547
- severity: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
- software security
- Unified Client Platform
- WebSocket
- without
entities_en:
- name: CVE
  type: data
- name: PyPI
  type: artifact
- name: Unified Client Platform
  type: artifact
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE
  type: data
- name: PyPI
  type: artifact
- name: Unified Client Platform
  type: artifact
related_auto:
- name: United Arab Emirates Company
  type: organization
  weight: 2.0
- name: United States Limited Liability Company (LLC
  type: organization
  weight: 2.0
- name: United Arab Emirates
  type: location
  weight: 2.0
- name: United States
  type: organization
  weight: 2.0
- name: Portal
  type: organization
  weight: 1.0
computed_at: '2026-08-22T14:33:29Z'
---

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

## TL;DR
AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate

## Key Points
- cve / CVE-2026-59881 / PYSEC-2026-3547 / severity: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 / aiohttp / PyPI

## Details
**Severity:** 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
**Advisory:** PYSEC-2026-3547 (CVE-2026-59881)

**Details:**
### 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

**References:**
- 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/pull/12978
- https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6
- https://github.com/aio-libs/aiohttp
- http://github.com/aio-libs/aiohttp/releases/tag/v3.14.2
- https://pypi.org/project/aiohttp
- https://github.com/advisories/GHSA-mq44-7p77-q5h7

_Data: OSV.dev (upstream: pypa) — https://osv.dev/vulnerability/PYSEC-2026-3547_

## Source
元記事: [CVE-2026-59881: AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate](https://osv.dev/vulnerability/PYSEC-2026-3547) — published 2026-08-04T11:34:46Z
