{"id":"CVE-2026-48779","summary":"ws: Memory exhaustion DoS from tiny fragments and data chunks","details":"ws is an open source WebSocket client and server for Node.js. All versions from 1.1.0 up to (but not including) 5.2.5, from 6.0.0 up to 6.2.4, from 7.0.0 up to 7.5.11, and from 8.0.0 up to 8.21.0 are affected by a memory exhaustion DoS vulnerability. A peer can send a high volume of exceptionally small fragments and data chunks, with modest network traffic, to force the remote peer into allocating and holding structural wrappers that consume far more memory than the default documented message-size limit, leading to process termination due to OOM. This issue has been fixed in versions 5.2.5, 6.2.4, 7.5.11, and 8.21.0.","aliases":["GHSA-96hv-2xvq-fx4p"],"modified":"2026-08-12T03:30:11.495335814Z","published":"2026-06-16T21:26:22.537Z","related":["openSUSE-SU-2026:11123-1","openSUSE-SU-2026:11137-1","openSUSE-SU-2026:11138-1","openSUSE-SU-2026:11145-1","openSUSE-SU-2026:11354-1","openSUSE-SU-2026:11397-1","openSUSE-SU-2026:11452-1","openSUSE-SU-2026:21173-1"],"database_specific":{"cwe_ids":["CWE-400","CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48779.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48779.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29197"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33155"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33160"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33163"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33173"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33183"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33574"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34342"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36754"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36820"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37272"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:40984"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:41928"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:41941"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:41944"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:48151"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-48779"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48779.json"},{"type":"ADVISORY","url":"https://github.com/websockets/ws/security/advisories/GHSA-96hv-2xvq-fx4p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48779"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489661"},{"type":"FIX","url":"https://github.com/websockets/ws/commit/86d3e8a5fb0246ed373860c5fbb0de88824a27f7"},{"type":"FIX","url":"https://github.com/websockets/ws/commit/b5372ac67bb97a773727b8e9f5035a8123556d53"},{"type":"FIX","url":"https://github.com/websockets/ws/commit/bca91adf15677e47dbe4f959653452727be28b94"},{"type":"FIX","url":"https://github.com/websockets/ws/commit/fd36cd864fcdf62a08273a99e19a7d975401fee8"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/websockets/ws","events":[{"introduced":"4263f26d4dbe27e781c41a1ddfe3dab87dd9e1dc"},{"fixed":"b5372ac67bb97a773727b8e9f5035a8123556d53"},{"introduced":"1ee42fd67d365409096c11af0d6bc70fbe292c60"},{"fixed":"86d3e8a5fb0246ed373860c5fbb0de88824a27f7"},{"introduced":"092a822a41eb22f6d6745c18bc29b9c40715680f"},{"fixed":"fd36cd864fcdf62a08273a99e19a7d975401fee8"},{"introduced":"fc4024898c0da9b587c50a4a2d02d3ff88cddf06"},{"fixed":"bca91adf15677e47dbe4f959653452727be28b94"}],"database_specific":{"cpe":"cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"1.1.0"},{"fixed":"5.2.5"},{"introduced":"6.0.0"},{"fixed":"6.2.4"},{"introduced":"7.0.0"},{"fixed":"7.5.11"},{"introduced":"8.0.0"},{"fixed":"8.21.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["7.5.10","5.2.4","6.2.3","8.20.1","8.20.0","8.19.0","8.18.3","8.18.2","8.18.1","8.18.0","8.17.1","6.2.2","7.5.9","8.17.0","8.16.0","8.15.1","8.15.0","8.14.2","8.14.1","8.14.0","8.13.0","8.12.1","8.12.0","8.11.0","8.10.0","8.9.0","8.8.1","7.5.8","8.8.0","8.7.0","7.5.7","8.6.0","8.5.0","7.5.6","8.4.2","8.4.1","8.4.0","8.3.0","7.5.5","8.2.3","8.2.2","7.5.4","8.2.1","7.5.3","8.2.0","8.1.0","8.0.0","7.5.2","7.5.1","7.5.0","5.2.3","5.2.2","6.2.1","7.4.6","7.4.5","7.4.4","7.4.3","7.4.2","7.4.1","7.4.0","7.3.1","7.3.0","7.2.5","7.2.4","7.2.3","7.2.2","7.2.1","7.2.0","7.1.2","7.1.1","7.1.0","7.0.1","7.0.0","6.2.0","6.1.4","6.1.3","6.1.2","6.1.1","6.1.0","6.0.0","5.2.1","5.2.0","5.1.1","5.1.0","5.0.0","4.1.0","4.0.0","3.3.3","3.3.2","3.3.1","3.3.0","3.2.0","3.1.0","3.0.0","2.3.1","2.3.0","2.2.3","2.2.2","2.2.1","2.2.0","2.1.0","2.0.3","2.0.2","2.0.1","2.0.0","2.0.0-beta.2","2.0.0-beta.1","2.0.0-beta.0","1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-48779.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}