# CVE-2025-61765: python-socketio: python-socketio is a Python implementation of the Socket.IO realtime client and server

CVE-2025-61765 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2025-61765, released October 6, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-61765
- Priority: Routine
- CVSS: 6.4 (medium)
- EPSS: 0.0048
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 6, 2025

## Description

python-socketio is a Python implementation of the Socket.IO realtime client and server. A remote code execution vulnerability in python-socketio versions prior to 5.14.0 allows attackers to execute arbitrary Python code through malicious pickle deserialization in multi-server deployments on which the attacker previously gained access to the message queue that the servers use for internal communications. When Socket.IO servers are configured to use a message queue backend such as Redis for inter-server communication, messages sent between the servers are encoded using the `pickle` Python module. When a server receives one of these messages through the message queue, it assumes it is trusted and immediately deserializes it. The vulnerability stems from deserialization of messages using Python's `pickle.loads()` function. Having previously obtained access to the message queue, the attacker can send a python-socketio server a crafted pickle payload that executes arbitrary code during deserialization via Python's `__reduce__` method. This vulnerability only affects deployments with a compromised message queue. The attack can lead to the attacker executing random code in the context of, and with the privileges of a Socket.IO server process. Single-server systems that do not use a message queue, and multi-server systems with a secure message queue are not vulnerable. In addition to making sure standard security practices are followed in the deployment of the message queue, users of the python-socketio package can upgrade to version 5.14.0 or newer, which remove the `pickle` module and use the much safer JSON encoding for inter-server messaging.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-python-socketio opensuse-leap 15.6 | 5.7.2-150600.3.3.1 | [SUSE-SU-2025:3780-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-3780-1.md) | Oct 24, 2025 |
| Linux | python-python-socketio sles 15.6 | 5.7.2-150600.3.3.1 | [SUSE-SU-2025:3780-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-3780-1.md) | Oct 24, 2025 |
| Linux | python-python-socketio sles 15.7 | 5.7.2-150600.3.3.1 | [SUSE-SU-2025:3780-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-3780-1.md) | Oct 24, 2025 |
| Linux | python-socketio Debian 14 | 5.16.0-1 | [DEBIAN-CVE-2025-61765](https://patchblox.com/security/data/fix/linux/debian-cve-2025-61765.md) | Oct 6, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
