socketio/socket.io · Security

Socket.IO: Zero-attachment Memory Exhaustion

GHSA ID
GHSA-2m8v-j782-fhvr
CVE ID
CVE-2026-69185
Severity
high
Published
Updated
CVSS
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v3
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

Impact

A specially crafted Socket.IO packet can make the server wait for a large number of binary attachments and buffer them, which can be exploited to make the server run out of memory.

Patches

Version range Used by Fixed version
>=4.0.0 <4.2.7 [email protected] and [email protected] 4.2.7
>=3.4.0 <3.4.5 [email protected] 3.4.5
<3.3.6 [email protected] 3.3.6

Workarounds

There is no known workaround except upgrading to a safe version.

For more information

If you have any questions or comments about this advisory:

  • Open a discussion here

CWEs

References