{"id":"CVE-2026-33151","summary":"socket.io allows an unbounded number of binary attachments","details":"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.","aliases":["GHSA-677m-j7p3-52f9"],"modified":"2026-11-03T02:47:07.163765749Z","published":"2026-03-20T20:13:31.424Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-20","CWE-754"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33151.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33151.json"},{"type":"ADVISORY","url":"https://github.com/socketio/socket.io/security/advisories/GHSA-677m-j7p3-52f9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33151"},{"type":"FIX","url":"https://github.com/socketio/socket.io/commit/719f9ebab0772ffb882bd614b387e585c1aa75d4"},{"type":"FIX","url":"https://github.com/socketio/socket.io/commit/9d39f1f080510f036782f2177fac701cc041faaf"},{"type":"FIX","url":"https://github.com/socketio/socket.io/commit/b25738c416c4e32fbff62ee182afa8f6d0dacf78"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/socketio/socket.io","events":[{"introduced":"0"},{"fixed":"17bc1d65cf92148a7fd4a24930c8d7ea944faca8"},{"fixed":"082b68394f0bb300c1479a58cb38f13b952f10fe"},{"introduced":"5eaeffc8e2244b73dd13fd2562c9684ad289997b"},{"fixed":"522edcdbb89da5eb647abb93c73229d1e91c304f"},{"fixed":"719f9ebab0772ffb882bd614b387e585c1aa75d4"},{"fixed":"9d39f1f080510f036782f2177fac701cc041faaf"},{"fixed":"b25738c416c4e32fbff62ee182afa8f6d0dacf78"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*","range":[{"introduced":"0"},{"fixed":"3.3.5"}],"source":"CPE_RANGE"},{"range":[{"introduced":"3.4.0"},{"fixed":"3.4.4"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*"},{"cpe":"cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*","range":[{"introduced":"4.0.0"},{"fixed":"4.2.6"}],"source":"CPE_RANGE"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"719f9ebab0772ffb882bd614b387e585c1aa75d4"}]},{"range":[{"fixed":"9d39f1f080510f036782f2177fac701cc041faaf"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"b25738c416c4e32fbff62ee182afa8f6d0dacf78"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["engine.io@6.6.6","socket.io@4.8.3","socket.io-client@4.8.3","socket.io-parser@4.2.5","socket.io-adapter@2.5.6","engine.io-client@6.6.4","socket.io@4.8.2","socket.io-client@4.8.2","engine.io@6.6.5","@socket.io/redis-streams-emitter@0.1.1","@socket.io/redis-streams-emitter@0.1.0","@socket.io/cluster-adapter@0.3.0","@socket.io/postgres-emitter@0.1.1","engine.io@6.6.4","engine.io@6.6.3","engine.io-client@6.6.3","socket.io@4.8.1","socket.io-client@4.8.1","engine.io-client@6.6.2","engine.io@6.6.2","socket.io@4.8.0","socket.io-client@4.8.0","engine.io@6.6.1","engine.io-client@6.6.1","@socket.io/cluster-engine@0.1.0","engine.io-parser@5.2.3","socket.io@4.7.5","4.7.5","4.7.4","4.7.3","4.7.2","4.7.1","4.7.0","4.6.2","4.6.1","4.6.0","4.6.0-alpha1","4.5.4","4.5.3","4.5.2","4.5.1","4.5.0","4.4.1","4.4.0","4.3.2","4.3.1","4.3.0","4.2.0","4.1.3","4.1.2","4.1.1","4.1.0","4.0.2","4.0.1","4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-33151.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}