aiohttp: Multiple instances of excessive or unbounded memory/CPU use

GHSA-2g87-pp6c-29x5
HIGH 8.7OSV

At a glance

Source
OSV
Published
Updated
CVE
CVE-2026-123817
Aliases
PYSEC-2026-4389
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVE severity
HIGH 8.7 · CVE-2026-123817

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.

References

Affected packages

PackageVersions
PyPI · aiohttpintroduced 0, fixed 3.14.4

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database