cvelo
P2 · HighCVSS 7.5EPSS 0.5%

websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames

  • CVE-2026-140001
  • GHSA-7487-9gcw-9w8w
  • EUVD-2026-139701

Description

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.1, the fragmented-message buffer stores every received frame payload, including zero-length Buffer objects, until a final fragment arrives. An unauthenticated remote client can keep one message unfinished while sending an indefinite stream of zero-length continuation frames, causing the fragment array to grow until the Node.js process exhausts heap 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.