WebSocket Client and Server Vulnerability in Node.js by The ws Team
CVE-2026-45736

4.4MEDIUM

Key Information:

Vendor

Websockets

Status
Vendor
CVE Published:
15 May 2026

What is CVE-2026-45736?

The ws library, an open source WebSocket client and server for Node.js, is susceptible to uninitialized memory disclosure. This issue arises when the websocket.close() function is called with a TypedArray as the reason argument, resulting in sensitive data leaks from uninitialized memory. The vulnerability has been addressed in version 8.20.1, emphasizing the importance of upgrading to protect data integrity.

Affected Version(s)

ws >= 8.0.0, < 8.20.1

References

CVSS V3.1

Score:
4.4
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.