CVE-2026-45736 PUBLISHED

ws: Uninitialized memory disclosure

Assigner: GitHub_M
Reserved: 13.05.2026 Published: 15.05.2026 Updated: 15.05.2026

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.

Metrics

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

Product Status

Vendor websockets
Product ws
Versions
  • Version >= 8.0.0, < 8.20.1 is affected

References

Problem Types

  • CWE-908: Use of Uninitialized Resource CWE