CVE-2026-140009

NameCVE-2026-140009
Descriptionws is an open source WebSocket client and server for Node.js. Prior to 5.2.8, 6.2.7, 7.5.14, and 8.23.0, a malicious WebSocket peer can send Ping frames while stopping reads, causing ws to generate and buffer automatic Pong responses without a pending-response bound. The queued Pong frames can exhaust process memory and terminate the application; disabling autoPong where available or combining rate limiting with heartbeats mitigates the issue. This issue is fixed in versions 5.2.8, 6.2.7, 7.5.14, and 8.23.0.
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-ws (PTS)bookworm8.11.0+~cs13.7.3-1vulnerable
trixie8.18.1+~cs14.18.2-1vulnerable
forky, sid8.21.3+~cs14.19.1-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-wssource(unstable)(unfixed)

Notes

https://github.com/websockets/ws/security/advisories/GHSA-37g9-w4hg-h9qr
Fixed by: https://github.com/websockets/ws/commit/ace7248f685b10a87eff882e66c5b37fbee03d63 (8.23.0)

Search for package or bug name: Reporting problems