Skip to content

Unbounded number of binary attachments

High
darrachequesne published GHSA-677m-j7p3-52f9 Mar 17, 2026

Package

npm socket.io-parser (npm)

Affected versions

<3.3.5
>=3.4.0,<3.4.4
>=4.0.0,<4.2.6

Patched versions

3.3.5
3.4.4
4.2.6

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.6 socket.io@4.x and socket.io-client@4.x 4.2.6
>=3.4.0 <3.4.4 socket.io@2.x 3.4.4
<3.3.5 socket.io-client@2.x 3.3.5

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

References

  • b25738c
  • 719f9eb (from the socket.io-parser/3.4.x branch)
  • 9d39f1f (from the socket.io-parser/3.3.x branch)

Severity

High

CVE ID

CVE-2026-33151

Weaknesses

Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. Learn more on MITRE.

Improper Check for Unusual or Exceptional Conditions

The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product. Learn more on MITRE.

Credits