CVE-2026-48779: CWE-400: Uncontrolled Resource Consumption in websockets ws
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.
AI Analysis
Technical Summary
CVE-2026-48779 affects the ws WebSocket client and server library for Node.js. The vulnerability is an uncontrolled resource consumption (CWE-400) issue where an attacker can send numerous small fragments and data chunks to the remote peer. This forces the remote peer to allocate and hold structural wrappers that consume significantly more memory than the documented message-size limit, resulting in process termination due to out-of-memory (OOM) conditions. The affected versions are >=1.1.0 <5.2.5, >=6.0.0 <6.2.4, >=7.0.0 <7.5.11, and >=8.0.0 <8.21.0. Fixed versions are 5.2.5, 6.2.4, 7.5.11, and 8.21.0. The CVSS 3.1 score is 7.5 (High) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating network attack vector, low complexity, no privileges or user interaction required, no confidentiality or integrity impact, but high impact on availability.
Potential Impact
Successful exploitation allows a remote attacker to cause a denial-of-service by exhausting memory resources on the target system running the vulnerable ws versions. This leads to process termination due to out-of-memory conditions, impacting availability. There is no impact on confidentiality or integrity.
Mitigation Recommendations
A fix is available in ws versions 5.2.5, 6.2.4, 7.5.11, and 8.21.0. Users should upgrade to these or later versions to remediate the vulnerability. Patch status is confirmed by vendor advisories linked from Red Hat. No alternative mitigations are specified.
CVE-2026-48779: CWE-400: Uncontrolled Resource Consumption in websockets ws
Description
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.
CVSS v3.1
Score 7.5high
Affected software
pkg:npm/wsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-48779 affects the ws WebSocket client and server library for Node.js. The vulnerability is an uncontrolled resource consumption (CWE-400) issue where an attacker can send numerous small fragments and data chunks to the remote peer. This forces the remote peer to allocate and hold structural wrappers that consume significantly more memory than the documented message-size limit, resulting in process termination due to out-of-memory (OOM) conditions. The affected versions are >=1.1.0 <5.2.5, >=6.0.0 <6.2.4, >=7.0.0 <7.5.11, and >=8.0.0 <8.21.0. Fixed versions are 5.2.5, 6.2.4, 7.5.11, and 8.21.0. The CVSS 3.1 score is 7.5 (High) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating network attack vector, low complexity, no privileges or user interaction required, no confidentiality or integrity impact, but high impact on availability.
Potential Impact
Successful exploitation allows a remote attacker to cause a denial-of-service by exhausting memory resources on the target system running the vulnerable ws versions. This leads to process termination due to out-of-memory conditions, impacting availability. There is no impact on confidentiality or integrity.
Mitigation Recommendations
A fix is available in ws versions 5.2.5, 6.2.4, 7.5.11, and 8.21.0. Users should upgrade to these or later versions to remediate the vulnerability. Patch status is confirmed by vendor advisories linked from Red Hat. No alternative mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-22T20:18:20.365Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-48779","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29197","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:33155","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:33160","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:33163","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:33173","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:33183","vendor":"Red Hat"}]
Threat ID: 6a31c7a50b89be6888375e3e
Added to database: 06/16/2026, 22:01:09 UTC
Last enriched: 07/24/2026, 22:35:45 UTC
Last updated: 08/01/2026, 07:18:00 UTC
Views: 135
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.