CVE-2026-140000

high

Description

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.

References

https://github.com/faye/websocket-driver-node/security/advisories/GHSA-j7r2-xppq-m353

https://github.com/faye/websocket-driver-node/commit/93c3c5fc43e40726eaa3c25d13d200f0ec12cfed

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-139700

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High