Search vulnerabilities

Results 8

Export CSV
CVE-2026-140004

websocket-driver: Message corruption and denial of service triggered by crafted client message

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, a bug in the draft75 and draft76 message parser mishandles a short crafted byte sequence. An unauthenticated remote client can send this sequence over a legacy WebSocket connection, causing a received message to be emitted twice or causing the server process to crash. This issue is fixed in version 0.8.0.

CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Vendors
CVE-2026-140000

websocket-driver: Memory exhaustion triggered by small fragment frames holding long-lived references to TCP reads

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.2, StreamReader.read() uses Buffer.slice() for small reads, so small fragmented message frames can retain references to much larger TCP input Buffer objects. Before 0.8.1, unfinished fragments can retain source TCP reads until the message completes or reaches maxLength; in 0.8.1, compaction occurs after 1,000,000 fragments but can still retain up to 1,000,000 TCP inputs. An unauthenticated remote client can exploit this retention to cause substantial memory inflation and potentially exhaust server memory. This issue is fixed in version 0.8.2.

CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Vendors
CVE-2026-140001

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

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.

CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Vendors
CVE-2026-140002

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.

CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Vendors
CVE-2026-140003

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.

CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Vendors
CVE-2026-140005

websocket-driver: Denial of service triggered by client sending a single pong frame

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, pong payloads are used directly as property names in an ordinary JavaScript callback object, allowing inherited Object properties to be selected even when no matching ping callback was registered. An unauthenticated remote peer can send a pong whose payload names a property such as __proto__ or hasOwnProperty, causing the driver to call a non-callback value or an unbound built-in method and crash the process on Node.js v22 and below. This issue is fixed in version 0.8.0.

CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Vendors
CVE-2026-54466

websocket-driver: Message corruption via abuse of protocol length headers

websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.7.5, the frame format in draft versions of the WebSocket protocol includes a length header that allows an arbitrarily large integer to be encoded as a sequence of bytes with the high bit set. By sending an indefinite sequence of bytes with values 0x80 or above, a client can make the server parse these bytes into an ever-growing integer in lib/websocket/driver/draft75.js; because JavaScript numbers are 64-bit floating point values, this number will eventually lose precision and lead to the subsequent payload being parsed incorrectly. This issue is fixed in version 0.7.5.

CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
Vendors
CVE-2026-54490

websocket-driver: Resource limit bypass via message compression

websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.7.5, if this library is used with the permessage-deflate extension, a WebSocket server or client can be made to accept messages that are larger than the configured maximum message size because the limit is checked against the message frames' length headers, which give the size of the compressed data, not the size after decompression in lib/websocket/driver/hybi.js. This can lead to applications accepting larger messages than expected and exceeding their intended resource usage. This issue is fixed in version 0.7.5.

CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Vendors