Description
python-socketio is a Python implementation of the Socket.IO realtime client and server. 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. Prior to version 5.16.4, 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. Version 5.16.4 takes the following measures to address this issue: Binary packets are only accepted from authenticated clients and, when a client disconnects, the server checks if there is a partial binary message being held for the client and deletes it.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| miguelgrinberg | python-socketio | < 5.16.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-socketio | 5.17.0-1 | — |
| Debian 13 | python-socketio | No fix yet | — |
| Debian 12 | python-socketio | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-socketio | No fix yet | — |
| Ubuntu 26.04 LTS | python-socketio | No fix yet | — |
| Ubuntu 24.04 LTS | python-socketio | No fix yet | — |
| Ubuntu 22.04 LTS | python-socketio | No fix yet | — |
| Ubuntu 20.04 LTS | python-socketio | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | python-python-socketio | 5.7.2-150600.3.6.1 | SUSE-SU-2026:3086-1 |
| SLES 3 | python-python-socketio | 5.7.2-150600.3.6.1 | SUSE-SU-2026:3086-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | python-python-socketio | 5.7.2-150600.3.6.1 | SUSE-SU-2026:3086-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-python-socketio | 5.16.3-1.1 | openSUSE-SU-2026:11171-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | python-socketio | < 5.16.2 | 5.16.2 | GHSA-5w7q-77mv-v69f |
Advisories 2
- SUSE-SU-2026:3086-1 Security update for python-python-socketio SUSE / openSUSE Security Updates · Jul 17, 2026
- openSUSE-SU-2026:11171-1 python311-python-socketio-5.16.3-1.1 on GA media SUSE / openSUSE Security Updates · Jul 2, 2026