GitHub Advisoryadvisory · PyPI

GHSA-5w7q-77mv-v69f python-socketio: Binary attachment accumulation can cause denial of service

HIGH Published 2026-06-26 Modified 2026-06-26 Official page ↗
Aliases
CVE-2026-48804
Ecosystem
PyPI
Packages
python-socketio
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-770
Reviewed
2026-06-26

Affected packages

• PyPI python-socketio: < 5.16.2 → fixed in 5.16.2

Description

Impact The python-socketio server stores binary `EVENT` and `ACK` messages in memory while it waits to receive their binary attachments. Once all the attachments are received, these messages are then processed. An attacker can submit a binary message and intentionally omit sending one or more of its attachments to cause the message along with the partial list of received attachments to stay in memory for a long time. Patches Version 5.16.2 takes the following measures to address this issue: • Binary packets are only accepted from authenticated clients. • When a client disconnects, the server checks if there is a partial binary message being held for the client and deletes it.

Related

Alias · CVE (1)

  • CVE-2026-48804 python-socketio is a Python implementation of the Socket.IO realtime client and server. vulnerability

Weakness · CWE (1)

  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References