Advisory

GHSA-677m-j7p3-52f9

Also known as: CVE-2026-33151

Summary

socket.io allows an unbounded number of binary attachments

Details

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 | [email protected] and [email protected] | 4.2.6 |
| >=3.4.0 <3.4.4 | [email protected] | 3.4.4 |
| <3.3.5 | [email protected] | 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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-18 17:26 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

socket.io-parser

npm · All systems

Affected

  • introduced 0, fixed 3.3.5 (semver)

Fixed versions

3.3.5

Fix

socket.io-parser

npm · All systems

Affected

  • introduced 3.4.0, fixed 3.4.4 (semver)

Fixed versions

3.4.4

Fix

socket.io-parser

npm · All systems

Affected

  • introduced 4.0.0, fixed 4.2.6 (semver)

Fixed versions

4.2.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences