CVE-2026-140000

NameCVE-2026-140000
Descriptionwebsocket-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-websocket-driver (PTS)bookworm, trixie0.7.4+~cs0.6.7-2vulnerable
forky, sid0.7.5+~cs0.6.14-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-websocket-driversource(unstable)(unfixed)

Notes

https://github.com/faye/websocket-driver-node/security/advisories/GHSA-j7r2-xppq-m353
Fixed by: https://github.com/faye/websocket-driver-node/commit/93c3c5fc43e40726eaa3c25d13d200f0ec12cfed (0.8.2)

Search for package or bug name: Reporting problems