Skip to content

Excessive memory use reassembling WebSocket frames from small reads

Low
Dreamsorcerer published GHSA-2g87-pp6c-29x5 Oct 7, 2026

Package

pip aiohttp (pip)

Affected versions

<=3.14.3

Patched versions

3.14.4

Description

Summary

While reassembling a WebSocket frame that arrived across many small transport reads, the reader kept one bytes object per read with no bound on the count. The per-object overhead is many times larger than the payload bytes, so a frame delivered a few bytes at a time could use far more memory than max_msg_size allows.

Impact

An attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending a frame in a large number of tiny segments.


Patch: 09bcaa7
Patch: 6a4f668

Severity

Low

CVE ID

CVE-2026-123817

Weaknesses

Allocation of Resources Without Limits or Throttling

The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. Learn more on MITRE.

Credits