What’s Vulnerable › Vulnerabilities

CVE-2026-45736: ws: Uninitialized memory disclosure

Description

ws is an open source WebSocket client and server for Node.js. Prior to 8.20.1, the websocket.close() implementation is vulnerable to uninitialized memory disclosure when a TypedArray is passed as the reason argument. This vulnerability is fixed in 8.20.1.

Affected products

How to fix

Upgrade to a fixed version: websockets ws 8.20.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-45736 or the next vulnerability affects your stack