CVE-2026-140003

NameCVE-2026-140003
Descriptionwebsocket-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-websocket-driver (PTS)bookworm, trixie0.7.4+~cs0.6.7-2vulnerable
forky, sid0.7.5+~cs0.6.14-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-websocket-driversource(unstable)(unfixed)

Notes

https://github.com/faye/websocket-driver-node/security/advisories/GHSA-c4gv-fww2-jp3r
Fixed by: https://github.com/faye/websocket-driver-node/commit/851117d21fa8eb98f22856b5600e0688c5337214 (0.8.0)

Search for package or bug name: Reporting problems