Faye websocket-driver-node
websocket-driver: Memory exhaustion triggered by buffering of data received after socket is closed
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.1, receiving a WebSocket close frame moves the driver into a state where the parser no longer consumes input, but a half-open TCP client can continue sending bytes that the driver buffers in memory. An unauthenticated remote client can send one close frame, keep its side of the connection open, and stream data indefinitely until the server exhausts memory and crashes. This issue is fixed in version 0.8.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.8.1
Fixed in 0.8.1
Mitigation
Upgrade websocket-driver-node to 0.8.1 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 2.1 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-140002 (created 3 Dec 2026, found by us: 3 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-140002 | 3 Dec 2026 +2.1 d | 3 Dec 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.