Advisory

GHSA-2g87-pp6c-29x5

Also known as: CVE-2026-123817

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-10-19 17:07 UTC
Modified
2026-11-09 21:30 UTC

Affected packages and fixes

aiohttp

PyPI · All systems

Affected

  • introduced 0, fixed 3.14.4 (ecosystem)

Fixed versions

3.14.4

Fix

  • Fixed version 3.14.4
    pip install --upgrade aiohttp==3.14.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences