CVE-2026-45736: CWE-908: Use of Uninitialized Resource in websockets ws
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.
AI Analysis
Technical Summary
The ws open source WebSocket client and server library for Node.js has a vulnerability in versions >= 8.0.0 and < 8.20.1. Specifically, the websocket.close() implementation can lead to uninitialized memory disclosure when a TypedArray is used as the reason argument. This is a use of uninitialized resource vulnerability (CWE-908). The vulnerability is addressed in version 8.20.1 of the ws library.
Potential Impact
Successful exploitation of this vulnerability can lead to disclosure of uninitialized memory contents, potentially exposing sensitive information. The CVSS score of 4.4 indicates a medium severity impact focused on confidentiality. There is no indication of integrity or availability impact. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Upgrade the ws library to version 8.20.1 or later, where this vulnerability is fixed. Since this is a library used in Node.js applications, ensure that all deployments using affected versions are updated accordingly. Patch status is confirmed by the version fix; no other remediation level is specified.
CVE-2026-45736: CWE-908: Use of Uninitialized Resource in websockets ws
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.
CVSS v3.1
Score 4.4medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The ws open source WebSocket client and server library for Node.js has a vulnerability in versions >= 8.0.0 and < 8.20.1. Specifically, the websocket.close() implementation can lead to uninitialized memory disclosure when a TypedArray is used as the reason argument. This is a use of uninitialized resource vulnerability (CWE-908). The vulnerability is addressed in version 8.20.1 of the ws library.
Potential Impact
Successful exploitation of this vulnerability can lead to disclosure of uninitialized memory contents, potentially exposing sensitive information. The CVSS score of 4.4 indicates a medium severity impact focused on confidentiality. There is no indication of integrity or availability impact. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Upgrade the ws library to version 8.20.1 or later, where this vulnerability is fixed. Since this is a library used in Node.js applications, ensure that all deployments using affected versions are updated accordingly. Patch status is confirmed by the version fix; no other remediation level is specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T06:54:34.219Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a073a04ec166c07b05c5b44
Added to database: 5/15/2026, 3:21:40 PM
Last enriched: 5/15/2026, 3:36:35 PM
Last updated: 6/10/2026, 3:33:13 PM
Views: 555
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.