{"id":"CVE-2026-33151","published":"2026-03-20T20:13:31Z","modified":"2026-03-23T16:50:16Z","title":"socket.io allows an unbounded number of binary attachments","vendor":"socketio","product":"socket.io","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00572,"percentile":0.48185,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"references":[{"url":"https://github.com/socketio/socket.io/security/advisories/GHSA-677m-j7p3-52f9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/socketio/socket.io/commit/719f9ebab0772ffb882bd614b387e585c1aa75d4","tags":["x_refsource_MISC"]},{"url":"https://github.com/socketio/socket.io/commit/9d39f1f080510f036782f2177fac701cc041faaf","tags":["x_refsource_MISC"]},{"url":"https://github.com/socketio/socket.io/commit/b25738c416c4e32fbff62ee182afa8f6d0dacf78","tags":["x_refsource_MISC"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":9.64},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"socketio","affectedVersions":[{"vendor":"socketio","product":"socket.io","versions":["< 3.3.5",">= 3.4.0, < 3.4.4",">= 4.0.0, < 4.2.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-23T16:50:08.681178Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"socket.io-parser","vulnerableRanges":["<3.3.5",">=3.4.0, <3.4.4",">=4.0.0, <4.2.6"],"patched":["3.3.5","3.4.4","4.2.6"],"from":["GHSA-677m-j7p3-52f9"],"provenance":"source"}],"summary":{"text":"The socket.io framework contains a flaw in how it handles binary attachments, where a specially crafted packet can cause the server to wait for and buffer an unbounded number of them. An attacker with network access can exploit this without authentication or user interaction, using a crafted Socket.IO packet to exhaust the server's memory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:44Z"},"euvd":{"id":"EUVD-2026-13788","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-socketio-socket-io-cve-2026-33151","children":[{"from":"CVE-2026-33151","to":"CVE-2026-69185","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:socket.io-parser","fromFixed":"4.2.6","toFixed":"4.2.7","daysApart":136},{"kind":"version-step","provenance":"source","package":"npm:socket.io-parser","fromFixed":"3.4.4","toFixed":"3.4.5","daysApart":136},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/socketio/socket.io/commit/719f9ebab0772ffb882bd614b387e585c1aa75d4","https://github.com/socketio/socket.io/commit/9d39f1f080510f036782f2177fac701cc041faaf","https://github.com/socketio/socket.io/commit/7c6ef571a00656718e9e05e3b948fd1758b2a7b4","https://github.com/socketio/socket.io/commit/9c6323e5cde41bd75df3379b5fc9293664a5f240"],"basis":"shared function","functions":["decodeString"]},{"kind":"similar","provenance":"machine","score":0.8,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2020-36049","published":"2021-01-07","fixed":"3.4.1","kev":false},{"cve":"CVE-2022-2421","published":"2022-10-25","fixed":"4.2.1","kev":false},{"cve":"CVE-2023-32695","published":"2023-05-27","fixed":"4.2.3","kev":false},{"cve":"CVE-2026-33151","published":"2026-03-20","fixed":"4.2.6","kev":false},{"cve":"CVE-2026-69185","published":"2026-08-03","fixed":"4.2.7","kev":false}],"package":"npm:socket.io-parser"}}