cvelo
P2 · HighCVSS 7.5EPSS 0.6%

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

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 versionsFixed in
    < 0.8.1none stated
  • websocket-drivernpm

    Affected versionsFixed in
    before 0.8.10.8.1

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.