Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-33151socket.io allows an unbounded number of binary attachments
High 8.7
In plain English
A high-severity improper input validation in socket.io from socketio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Socket.IO is an open source, real-time, bidirectional, event-based, communication framework. Prior to versions 3.3.5, 3.4.4, and 4.2.6, 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. This issue has been patched in versions 3.3.5, 3.4.4, and 4.2.6.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-socket.io-parser | no fix listed | DEBIAN-CVE-2026-33151 |
| Debian:13 | node-socket.io-parser | no fix listed | DEBIAN-CVE-2026-33151 |
| Debian:14 | node-socket.io-parser | 4.2.1+~3.1.0-4 | DEBIAN-CVE-2026-33151 |
| Ubuntu:22.04:LTS | node-socket.io-parser | no fix listed | UBUNTU-CVE-2026-33151 |
| Ubuntu:24.04:LTS | node-socket.io-parser | no fix listed | UBUNTU-CVE-2026-33151 |
| Ubuntu:25.10 | node-socket.io-parser | no fix listed | UBUNTU-CVE-2026-33151 |
| Ubuntu:26.04:LTS | node-socket.io-parser | no fix listed | UBUNTU-CVE-2026-33151 |
| npm | socket.io-parser | 4.2.6 | GHSA-677m-j7p3-52f9 |
| npm | socket.io-parser | 3.4.4 | GHSA-677m-j7p3-52f9 |
| npm | socket.io-parser | 3.3.5 | GHSA-677m-j7p3-52f9 |
Affected products (as reported)
Weakness: CWE-20, CWE-754 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/socketio/socket.io/security/advisories/GHSA-677m-j7p3-52f9 x_refsource_CONFIRM
- https://github.com/socketio/socket.io/commit/719f9ebab0772ffb882bd614b387e585c1aa75d4 x_refsource_MISC
- https://github.com/socketio/socket.io/commit/9d39f1f080510f036782f2177fac701cc041faaf x_refsource_MISC
- https://github.com/socketio/socket.io/commit/b25738c416c4e32fbff62ee182afa8f6d0dacf78 x_refsource_MISC