websocket-driver: Memory exhaustion triggered by buffering of data received after socket is closed
- CVE-2026-140002
- GHSA-v674-7268-hvqh
- EUVD-2026-139725
Description
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.
Text from the CVE.org record.
Recommendation
websocket-driver
- If you run a version before 0.8.1update to 0.8.1 or laterwebsocket-driver 0.8.1 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
faye websocket-driver-node
Affected versions Fixed in < 0.8.1 none stated websocket-drivernpm
Affected versions Fixed in before 0.8.1 0.8.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.