Faye websocket-driver-node
websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 header
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.8.0
Fixed in 0.8.0
Mitigation
Upgrade websocket-driver-node to 0.8.0 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 1.9 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-140003 (created 2 Dec 2026, found by us: 2 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-140003 | 2 Dec 2026 +1.9 d | 2 Dec 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.