CVE-2026-62389
Deferred Deferred - Pending Action

Memory Exhaustion in ws WebSocket Library

Vulnerability report for CVE-2026-62389, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-15

Last updated on: 2026-07-29

Assigner: VulnCheck

Description

Rejected reason: This CVE ID has been rejected or withdrawn by its CVE Numbering Authority as a duplicate of CVE-2026-48779.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-15
Last Modified
2026-07-29
Generated
2026-08-05
AI Q&A
2026-07-15
EPSS Evaluated
2026-07-28
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
websockets ws to 8.21.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-770 The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a memory exhaustion issue in the WebSocket library (ws) before version 8.21.1. It occurs in lib/receiver.js where the fragment guard only activates when the fragment count reaches maxFragments. Attackers can send incomplete fragmented WebSocket messages by starting with a text frame (FIN=0) followed by continuation frames without completing the sequence. Each fragment is stored as a separate Buffer object, consuming significant memory and causing heap exhaustion leading to denial of service.

Detection Guidance

Monitor WebSocket connections for incomplete fragmented messages. Use tools like Wireshark to inspect WebSocket frames for FIN=0 and continuation frames without completion. Check server logs for memory usage spikes or OOM errors in Node.js processes handling WebSocket connections.

Impact Analysis

This vulnerability can allow attackers to crash your WebSocket server by sending specially crafted fragmented messages that consume excessive memory. A single attacker could exhaust server resources, causing the application to slow down or become unresponsive. Multiple attackers could amplify the impact, potentially leading to system-wide outages or crashes.

Compliance Impact

This vulnerability can impact compliance with GDPR and HIPAA by causing service disruptions due to denial of service. GDPR requires ensuring the availability of processing systems, while HIPAA mandates safeguards to protect data integrity and availability. A DoS attack exploiting this vulnerability could violate these requirements, potentially leading to regulatory penalties or loss of trust.

Mitigation Strategies
  • Upgrade the ws library to version 8.21.1 or later to apply the security fix.
  • Reduce default values of maxFragments and maxBufferedChunks in your WebSocket server configuration to limit memory usage.
  • Implement per-connection and process-wide byte caps to prevent excessive memory consumption from fragmented messages.
  • Monitor server memory usage and set up alerts for abnormal spikes that may indicate an ongoing attack.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-62389. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart