CVE-2026-140003

high

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

https://github.com/faye/websocket-driver-node/security/advisories/GHSA-c4gv-fww2-jp3r

https://github.com/faye/websocket-driver-node/commit/851117d21fa8eb98f22856b5600e0688c5337214

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-139726

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-12-03

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High

EPSS

EPSS: 0.00621