{"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-08-12T03:30:47.383222352Z","published":"2026-03-20T20:13:31.424Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33151.json","unresolved_ranges":[{"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.2.6"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-20","CWE-754"]},"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"},{"fixed":"719f9ebab0772ffb882bd614b387e585c1aa75d4"},{"fixed":"9d39f1f080510f036782f2177fac701cc041faaf"},{"fixed":"b25738c416c4e32fbff62ee182afa8f6d0dacf78"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.3.5"},{"introduced":"3.4.0"},{"fixed":"3.4.4"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"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","3.1.2","3.1.1","3.1.0","3.0.5","2.3.0","3.0.4","3.0.3","3.0.2","3.0.1","3.0.0","3.0.0-rc4","3.0.0-rc3","3.0.0-rc2","3.0.0-rc1","2.2.0","2.1.1","2.1.0","2.0.4","2.0.3","2.0.2","2.0.1","2.0.0","1.7.2","1.7.1","1.7.0","1.6.0","1.5.1","1.5.0","1.4.5","1.4.4","1.4.3","1.4.2","1.4.1","1.4.0","1.3.2","1.3.1","1.3.0","1.2.1","1.2.0","1.1.0","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0","1.0.0-pre5","1.0.0-pre4","1.0.0-pre3","1.0.0-pre2","1.0.0-pre","0.9.10","0.9.9","0.9.8","0.9.7","0.9.5","0.9.4","0.9.3","0.9.2","0.9.1-1","0.9.1","0.9.0","0.8.7","0.8.6","0.8.5","0.8.4","0.8.3","0.8.2","0.8.1","0.8.0","0.7.9","0.7.8","0.7.7","0.7.6","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-33151.json"}}],"schema_version":"1.9.0","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"}]}