CVE-2026-140003

7.5High

Published Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-248

What an attacker gets

Unauthenticated remote attackers can crash your Node.js application by sending a malformed WebSocket handshake. This causes a buffer range exception that terminates the process.

Root cause

The draft76 handshake parser fails to validate that derived integer values from WebSocket keys fit within a 32-bit unsigned integer.

Affected versions

websocket-driver versions prior to 0.8.0

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Fix & remediation

Upgrade to version 0.8.0 or later. If you cannot update immediately, disable support for the draft76 WebSocket protocol.

remediation — bash
$ npm install websocket-driver@0.8.0

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, the draft76 handshake parser derives integers from Sec-WebSocket-Key1 and Sec-WebSocket-Key2 by extracting digits and dividing by the number of spaces, then writes the results as unsigned 32-bit values. An unauthenticated remote client can supply a key whose derived value exceeds 32 bits, causing a Buffer range exception that crashes the process on Node.js v22 and below. This issue is fixed in version 0.8.0.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-140003

More fully triaged vulnerabilities you may want to check next.