{"id":"CVE-2026-33151","aliases":["CVE-2026-33151","GHSA-677m-j7p3-52f9"],"related":[],"kind":"vulnerability","state":"published","title":"socket.io allows an unbounded number of binary attachments","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA 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.\n\n### Patches\n\n| Version range    | Used by                                    | Fixed version |\n|------------------|--------------------------------------------|---------------|\n| `>=4.0.0 <4.2.6` | `socket.io@4.x` and `socket.io-client@4.x` | `4.2.6`       |\n| `>=3.4.0 <3.4.4` | `socket.io@2.x`                            | `3.4.4`       |\n| `<3.3.5`         | `socket.io-client@2.x`                     | `3.3.5`       |\n\n### Workarounds\n\nThere is no known workaround except upgrading to a safe version.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Open a discussion [here](https://github.com/socketio/socket.io/discussions)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Socket.IO es un framework de comunicación de código abierto, en tiempo real, bidireccional y basado en eventos. Antes de las versiones 3.3.5, 3.4.4 y 4.2.6, un paquete de Socket.IO especialmente diseñado puede hacer que el servidor espere un gran número de adjuntos binarios y los almacene en búfer, lo cual puede ser explotado para agotar la memoria del servidor. Este problema ha sido parcheado en las versiones 3.3.5, 3.4.4 y 4.2.6.","source":"nvd"}],"published":"2026-03-18T17:26:14.000Z","modified":"2026-09-10T03:50:37.788Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20","CWE-754"],"affected":[{"ranges":[{"version":"< 3.3.5","status":"affected"},{"version":">= 3.4.0, < 3.4.4","status":"affected"},{"version":">= 4.0.0, < 4.2.6","status":"affected"}],"vendor":"socketio","product":"socket.io","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.3.5"}],"ecosystem":"npm","package":"socket.io-parser","purl":"pkg:npm/socket.io-parser","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.4.0","status":"affected","fixed":"3.4.4"}],"ecosystem":"npm","package":"socket.io-parser","purl":"pkg:npm/socket.io-parser","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.2.6"}],"ecosystem":"npm","package":"socket.io-parser","purl":"pkg:npm/socket.io-parser","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.3.5"},{"status":"affected","introduced":"3.4.0","fixed":"3.4.4"},{"status":"affected","introduced":"4.0.0","fixed":"4.2.6"}],"vendor":"socket","product":"socket.io-parser","cpe":"cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/socketio/socket.io/security/advisories/GHSA-677m-j7p3-52f9","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/socketio/socket.io/commit/719f9ebab0772ffb882bd614b387e585c1aa75d4","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/socketio/socket.io/commit/9d39f1f080510f036782f2177fac701cc041faaf","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/socketio/socket.io/commit/b25738c416c4e32fbff62ee182afa8f6d0dacf78","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33151","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/socketio/socket.io","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-23T16:50:08.681Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33151","url":"https://www.cve.org/CVERecord?id=CVE-2026-33151","licence":"CVE Terms of Use","modified":"2026-03-23T16:50:16.998Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-677m-j7p3-52f9","url":"https://github.com/advisories/GHSA-677m-j7p3-52f9","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:37.788Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33151","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33151","licence":"Public domain","modified":"2026-06-17T10:37:02.107Z"}],"updatedAt":"2026-11-25T22:59:16.341Z","epss":{"score":0.00572,"percentile":0.48638,"date":"2026-12-01T12:00:22.000Z"}}