ws: Memory exhaustion DoS from tiny fragments and data chunks
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-48779
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:10 UTC · Revision 1
Source evidence
ws: Memory exhaustion DoS from tiny fragments and data chunks
core-osv · Original sourcePublished 16 Jun 2026, 21:26 UTC
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.
osv:CVE-2026-48779
Complete source record
{
"id": "3e34bb7f8e45135b9ef53c055d97ad52c12f83fffa16b0af577912db843055eb",
"url": "https://osv.dev/vulnerability/CVE-2026-48779",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ws: Memory exhaustion DoS from tiny fragments and data chunks",
"summary": "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.",
"evidence": "osv:CVE-2026-48779",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-48779",
"aliases": [
"CVE-2026-48779",
"GHSA-96hv-2xvq-fx4p"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/websockets/ws",
"type": "GIT",
"events": [
{
"introduced": "4263f26d4dbe27e781c41a1ddfe3dab87dd9e1dc"
},
{
"fixed": "b5372ac67bb97a773727b8e9f5035a8123556d53"
},
{
"introduced": "1ee42fd67d365409096c11af0d6bc70fbe292c60"
},
{
"fixed": "86d3e8a5fb0246ed373860c5fbb0de88824a27f7"
},
{
"introduced": "092a822a41eb22f6d6745c18bc29b9c40715680f"
},
{
"fixed": "fd36cd864fcdf62a08273a99e19a7d975401fee8"
},
{
"introduced": "fc4024898c0da9b587c50a4a2d02d3ff88cddf06"
},
{
"fixed": "bca91adf15677e47dbe4f959653452727be28b94"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "1.1.0"
},
{
"fixed": "5.2.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.2.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.5.11"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.21.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "86d3e8a5fb0246ed373860c5fbb0de88824a27f7"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "b5372ac67bb97a773727b8e9f5035a8123556d53"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "bca91adf15677e47dbe4f959653452727be28b94"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "fd36cd864fcdf62a08273a99e19a7d975401fee8"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"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/cve-osv-conversion/osv-output/CVE-2026-48779.json"
}
}
],
"modified": "2026-10-28T02:30:21.588038613Z",
"provider": "osv",
"references": [
"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48779.json",
"https://access.redhat.com/errata/RHSA-2026:29197",
"https://access.redhat.com/errata/RHSA-2026:33155",
"https://access.redhat.com/errata/RHSA-2026:33160",
"https://access.redhat.com/errata/RHSA-2026:33163",
"https://access.redhat.com/errata/RHSA-2026:33173",
"https://access.redhat.com/errata/RHSA-2026:33183",
"https://access.redhat.com/errata/RHSA-2026:33574",
"https://access.redhat.com/errata/RHSA-2026:34342",
"https://access.redhat.com/errata/RHSA-2026:36754",
"https://access.redhat.com/errata/RHSA-2026:36820",
"https://access.redhat.com/errata/RHSA-2026:37272",
"https://access.redhat.com/errata/RHSA-2026:40984",
"https://access.redhat.com/errata/RHSA-2026:41928",
"https://access.redhat.com/errata/RHSA-2026:41941",
"https://access.redhat.com/errata/RHSA-2026:41944",
"https://access.redhat.com/errata/RHSA-2026:48151",
"https://access.redhat.com/errata/RHSA-2026:56366",
"https://access.redhat.com/errata/RHSA-2026:56431",
"https://access.redhat.com/errata/RHSA-2026:57013",
"https://access.redhat.com/errata/RHSA-2026:57590",
"https://access.redhat.com/errata/RHSA-2026:60520",
"https://access.redhat.com/errata/RHSA-2026:65126",
"https://access.redhat.com/errata/RHSA-2026:66488",
"https://access.redhat.com/errata/RHSA-2026:66545",
"https://access.redhat.com/security/cve/CVE-2026-48779",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48779.json",
"https://github.com/websockets/ws/security/advisories/GHSA-96hv-2xvq-fx4p",
"https://nvd.nist.gov/vuln/detail/CVE-2026-48779",
"https://bugzilla.redhat.com/show_bug.cgi?id=2489661",
"https://github.com/websockets/ws/commit/86d3e8a5fb0246ed373860c5fbb0de88824a27f7",
"https://github.com/websockets/ws/commit/b5372ac67bb97a773727b8e9f5035a8123556d53",
"https://github.com/websockets/ws/commit/bca91adf15677e47dbe4f959653452727be28b94",
"https://github.com/websockets/ws/commit/fd36cd864fcdf62a08273a99e19a7d975401fee8"
],
"provider_metadata": {
"cwe_ids": [
"CWE-400",
"CWE-770"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48779.json"
}
},
"related_cves": [
{
"value": "CVE-2026-48779",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 487557,
"published_at": "2026-06-16T21:26:22.537+00:00"
}