home / blog

2026-12-02 · high

CVE-2026-140001: Critical OOM Vulnerability in websocket-driver

OOM vulnerability in websocket-driver allows DoS attack using zero-length frames. Patch available in version 0.8.1.

CVE-2026-140001: Critical OOM Vulnerability in websocket-driver

The CVE-2026-140001 vulnerability affects websocket-driver, a WebSocket protocol handler used in many Node.js applications. The flaw allows an unauthenticated attacker to send an indefinite stream of zero-length continuation frames, causing heap memory exhaustion and crashing the Node.js process.

The vulnerability is classified as severe with a CVSS score of 7.5. The National Vulnerability Database (NVD) officially published the details on November 30, 2026. Indications show that exploit code and Proof of Concept have already been developed, as reported on GitHub repositories, but active exploitation in the wild is not confirmed.

For defense, it is critical to immediately apply the update to websocket-driver version 0.8.1, which fixes the issue by discarding zero-length frames instead of storing them. For applications that cannot be immediately updated, consider implementing limits on the number of frames or processing time to mitigate the risk.

At a glance

What
OOM (Out of Memory) vulnerability in the fragmented message buffer of websocket-driver
Severity
High (CVSS 7.5)
Affected versions
Versions prior to 0.8.1
Fix
Update to version 0.8.1
Status
Vulnerability confirmed, patch available
Action
Immediately apply the update to version 0.8.1

Sources: NVD, CVE-2026-140001

← All articles