GHSA-3rp8-rxj8-mvjw

    Dashboard / Vulnerabilities / GHSA-3rp8-rxj8-mvjw

    GHSA-3rp8-rxj8-mvjw

    Published: 16 Nov 2026Last Modified: 20 Nov 2026

    Summary: AIOHTTP: WebSocket max_msg_size bypass via integer overflow

    Details: ### Summary The `max_msg_size` check in the WebSocket reader added the declared frame length to the size of the partial message already buffered. In the C extension this addition is 64-bit arithmetic, so a declared length close to 2**63 overflowed and the check passed. ### Impact An attacker could bypass `max_msg_size` and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment. ### Workaround If unable to upgrade, the Python reader is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`. --- Patch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab

    Affected packages

    Package

    Name: aiohttp

    Purl: pkg:pypi/aiohttp

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.14.4

    Affected versions

    0.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High