socket.io allows an unbounded number of binary attachments
cve-program · CVE-2026-33151
PublishedSocket.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.
Read the publisher's advisoryeuvd · EUVD-2026-13788
PublishedSocket.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.
Read the publisher's advisorynvd · CVE-2026-33151
PublishedSocket.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.
Read the publisher's advisoryosv · GHSA-677m-j7p3-52f9
Published### 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](https://github.com/socketio/socket.io/discussions)
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-33151 · CVE overview and exploitation status
cve-program · CVE-2026-33151
- https://github.com/socketio/socket.io/security/advisories/GHSA-677m-j7p3-52f9
- https://github.com/socketio/socket.io/commit/719f9ebab0772ffb882bd614b387e585c1aa75d4
- https://github.com/socketio/socket.io/commit/9d39f1f080510f036782f2177fac701cc041faaf
- https://github.com/socketio/socket.io/commit/b25738c416c4e32fbff62ee182afa8f6d0dacf78
euvd · EUVD-2026-13788
- https://github.com/socketio/socket.io/security/advisories/GHSA-677m-j7p3-52f9
- https://github.com/socketio/socket.io/commit/719f9ebab0772ffb882bd614b387e585c1aa75d4
- https://github.com/socketio/socket.io/commit/9d39f1f080510f036782f2177fac701cc041faaf
- https://github.com/socketio/socket.io/commit/b25738c416c4e32fbff62ee182afa8f6d0dacf78
nvd · CVE-2026-33151
- https://github.com/socketio/socket.io/commit/719f9ebab0772ffb882bd614b387e585c1aa75d4
- https://github.com/socketio/socket.io/commit/9d39f1f080510f036782f2177fac701cc041faaf
- https://github.com/socketio/socket.io/commit/b25738c416c4e32fbff62ee182afa8f6d0dacf78
- https://github.com/socketio/socket.io/security/advisories/GHSA-677m-j7p3-52f9
osv · GHSA-677m-j7p3-52f9
- https://github.com/socketio/socket.io/security/advisories/GHSA-677m-j7p3-52f9
- https://nvd.nist.gov/vuln/detail/CVE-2026-33151
- https://github.com/socketio/socket.io/commit/719f9ebab0772ffb882bd614b387e585c1aa75d4
- https://github.com/socketio/socket.io/commit/9d39f1f080510f036782f2177fac701cc041faaf
- https://github.com/socketio/socket.io/commit/b25738c416c4e32fbff62ee182afa8f6d0dacf78
- https://github.com/socketio/socket.io
Related changes
Linked by CVE identifierNo related changes are available here.