cve.bz

CVE-2026-48804 miguelgrinberg python-socketio

7.5 highEPSS 0.5%Fix available

High (7.5) in miguelgrinberg python-socketio. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in python-socketio 5.16.2.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-08-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-48804 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-48804?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-48804?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-48804 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
miguelgrinberg python-socketio< 5.16.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5w7q-77mv-v69fPyPIpython-socketio<5.16.25.16.2
PYSEC-2026-3042PyPIpython-socketio<5.16.25.16.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13python-socketiono fix listedDEBIAN-CVE-2026-48804
Debian14python-socketio5.17.0-1DEBIAN-CVE-2026-48804
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 2 morepython-socketiono fix listedUBUNTU-CVE-2026-48804
SUSELinux Enterprise Module for Python 3 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6python-python-socketio5.7.2-150600.3.6.1SUSE-SU-2026:3086-1
openSUSETumbleweedpython-python-socketio5.16.3-1.1openSUSE-SU-2026:11171-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A denial of service flaw exists in python-socketio's binary packet assembly mechanism. When handling incoming binary EVENT and ACK payloads, the server retains incomplete messages and partial attachments in memory while awaiting remaining attachments. An unauthenticated remote attacker can submit binary headers while deliberately withholding attachment streams, causing untracked memory accumulation until memory exhaustion occurs. When python-socketio processes unauthenticated websocket connections, malformed payload streams can degrade or crash the service, posing an Important impact to availability.

Red Hat's mitigation

Require authentication for all client connections before accepting socket requests, or enforce connection timeouts at the reverse proxy layer to disconnect incomplete binary payload streams.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-48804.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON