ws Memory Exhaustion DoS Node.js <5.2.5 6.2.4 7.5.11 8.21.0
CVE-2026-48779 Published on June 16, 2026
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.
Vulnerability Analysis
CVE-2026-48779 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Weakness Types
What is a Resource Exhaustion Vulnerability?
The software does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.
CVE-2026-48779 has been classified to as a Resource Exhaustion vulnerability or weakness.
Allocation of Resources Without Limits or Throttling
The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
Excessive Platform Resource Consumption within a Loop
The software has a loop body or loop condition that contains a control element that directly or indirectly consumes platform resources, e.g. messaging, sessions, locks, or file descriptors.
Products Associated with CVE-2026-48779
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
websockets ws:- Version >= 1.1.0, < 5.2.5 is affected.
- Version >= 6.0.0, < 6.2.4 is affected.
- Version >= 7.0.0, < 7.5.11 is affected.
- Version >= 8.0.0, < 8.21.0 is affected.
- Version 1782840519 and below * is unaffected.
- Version 1782839981 and below * is unaffected.
- Version 1782839193 and below * is unaffected.
- Version 1782838753 and below * is unaffected.
- Version 1782839279 and below * is unaffected.
- Version 1782840539 and below * is unaffected.
- Version 1782841925 and below * is unaffected.
- Version 1782844225 and below * is unaffected.
- Version 1782839658 and below * is unaffected.
- Version 1782838476 and below * is unaffected.
- Version 1782839996 and below * is unaffected.
- Version 1782839494 and below * is unaffected.
- Version 1783448184 and below * is unaffected.
- Version 1782761244 and below * is unaffected.
- Version 1782166952 and below * is unaffected.
- Version 1783690532 and below * is unaffected.
- Version 1783676191 and below * is unaffected.
- Version 1783929816 and below * is unaffected.
- Version 1784094353 and below * is unaffected.
- Version 1784093953 and below * is unaffected.
- Version 1784094943 and below * is unaffected.
- Version 1783676585 and below * is unaffected.
- Version 1783676649 and below * is unaffected.
- Version 1783676675 and below * is unaffected.
- Version 1784094299 and below * is unaffected.
- Version 1784094725 and below * is unaffected.
- Version 1783676820 and below * is unaffected.
- Version 1783676883 and below * is unaffected.
- Version 1783676894 and below * is unaffected.
- Version 1784095175 and below * is unaffected.
- Version 1783676977 and below * is unaffected.
- Version 1784093503 and below * is unaffected.
- Version 1783677297 and below * is unaffected.
- Version 1783677345 and below * is unaffected.
- Version 1783677533 and below * is unaffected.
- Version 1783684360 and below * is unaffected.
- Version 1783684068 and below * is unaffected.
- Version 1784054582 and below * is unaffected.
- Version 1784054606 and below * is unaffected.
- Version 1784055295 and below * is unaffected.
- Version 1783684603 and below * is unaffected.
- Version 1783684668 and below * is unaffected.
- Version 1783684667 and below * is unaffected.
- Version 1784054873 and below * is unaffected.
- Version 1783684707 and below * is unaffected.
- Version 1784055589 and below * is unaffected.
- Version 1783684779 and below * is unaffected.
- Version 1783684831 and below * is unaffected.
- Version 1783684839 and below * is unaffected.
- Version 1784055533 and below * is unaffected.
- Version 1784055558 and below * is unaffected.
- Version 1784056134 and below * is unaffected.
- Version 1783685128 and below * is unaffected.
- Version 1783685129 and below * is unaffected.
- Version 1783685375 and below * is unaffected.
- Version 1783667125 and below * is unaffected.
- Version 1783666755 and below * is unaffected.
- Version 1784054598 and below * is unaffected.
- Version 1784055387 and below * is unaffected.
- Version 1784055726 and below * is unaffected.
- Version 1783667517 and below * is unaffected.
- Version 1783667577 and below * is unaffected.
- Version 1783667611 and below * is unaffected.
- Version 1784055020 and below * is unaffected.
- Version 1783667641 and below * is unaffected.
- Version 1784055586 and below * is unaffected.
- Version 1783667790 and below * is unaffected.
- Version 1783667859 and below * is unaffected.
- Version 1783667875 and below * is unaffected.
- Version 1783667869 and below * is unaffected.
- Version 1783667877 and below * is unaffected.
- Version 1784055576 and below * is unaffected.
- Version 1784055244 and below * is unaffected.
- Version 1784055382 and below * is unaffected.
- Version 1783668266 and below * is unaffected.
- Version 1783668288 and below * is unaffected.
- Version 1783669219 and below * is unaffected.
- Version 1782498475 and below * is unaffected.
- Version 1782498792 and below * is unaffected.
- Version 1781937133 and below * is unaffected.
- Version 1782287580 and below * is unaffected.
- Version 1782201894 and below * is unaffected.
- Version 1782201833 and below * is unaffected.
- Version 1782201696 and below * is unaffected.
- Version 1782201537 and below * is unaffected.
- Version 1782201851 and below * is unaffected.
- Version 1782201812 and below * is unaffected.
- Version 1782231869 and below * is unaffected.
- Version 1782201466 and below * is unaffected.
- Version 1783327185 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.