CVE-2026-48779: websockets ws · Uncontrolled Resource Consumption
Affects websockets wsSource CVE Database V5
Not known to be exploited · CVSS 7.5 High · fixed in 8.21.0 : patch websockets ws soon.
Data as of 30 Oct 2026, 20:25 UTC
- EPSS
- 1.4% chance of exploitation in 30 days – higher than 72% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.21.0, 7.5.11, 6.2.4 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade websockets ws to 8.21.0, 7.5.11, 6.2.4 or 5.2.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| websocketsws | Affected
| Fixed in
|
| websocketsws | Affected
| Fixed in
|
| websocketsws | Affected
| Fixed in
|
| websocketsws | Affected
| Fixed in
|
npmwspkg:npm/wsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
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. Red Hat advisories indicate that no effective mitigation other than upgrading currently meets their criteria for ease of use, applicability, and stability. Therefore, upgrading is the recommended remediation.
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.
References
- github.com/websockets/ws/security/advisories/GHSA-96hv-2xvq-fx4p (opens in a new tab)
- github.com/websockets/ws/commit/86d3e8a5fb0246ed373860c5fbb0de88824a27f7 (opens in a new tab)
- github.com/websockets/ws/commit/b5372ac67bb97a773727b8e9f5035a8123556d53 (opens in a new tab)
- github.com/websockets/ws/commit/bca91adf15677e47dbe4f959653452727be28b94 (opens in a new tab)
- github.com/websockets/ws/commit/fd36cd864fcdf62a08273a99e19a7d975401fee8 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-48779 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2489661 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48779.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:48151 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:34342 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36754 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33574 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:29197 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:41928 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36820 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33155 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33160 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33163 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33173 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33183 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:41941 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:41944 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:40984 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:37272 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:56431 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:56366 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:57013 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:57590 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:60520 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:65126 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:66545 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:66488 (opens in a new tab)