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
CVE-2026-45736 is a vulnerability in the ws WebSocket client and server library for Node.js. Specifically, the websocket.close() implementation is vulnerable to uninitialized memory disclosure when a TypedArray is passed as the reason argument. This can result in sensitive information leakage from uninitialized memory areas. The issue is tracked under CWE-908 (Use of Uninitialized Resource) and CWE-824 (Access of Uninitialized Pointer). The vulnerability affects all versions prior to 8.20.1 and has been fixed in 8.20.1. The CVSS v3 base score is 7.5 (High) according to Red Hat's assessment, indicating a network attack vector with low complexity and no required privileges or user interaction, resulting in high confidentiality impact but no integrity or availability impact. No known exploits in the wild have been reported. Red Hat has released advisories and errata addressing this vulnerability.
Potential Impact
An attacker who can cause the websocket.close() function to be called with a TypedArray reason argument may be able to read sensitive information from uninitialized memory. This confidentiality breach does not affect integrity or availability. The vulnerability requires network access but no privileges or user interaction. There are no known active exploits in the wild at this time.
Mitigation Recommendations
A fix is available in ws version 8.20.1. Users and vendors should upgrade to version 8.20.1 or later to remediate this vulnerability. Red Hat has released security advisories and errata that include this fix for affected products. No additional mitigations are specified or required beyond applying the official update.
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
websockets
ws
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-45736 is a vulnerability in the ws WebSocket client and server library for Node.js. Specifically, the websocket.close() implementation is vulnerable to uninitialized memory disclosure when a TypedArray is passed as the reason argument. This can result in sensitive information leakage from uninitialized memory areas. The issue is tracked under CWE-908 (Use of Uninitialized Resource) and CWE-824 (Access of Uninitialized Pointer). The vulnerability affects all versions prior to 8.20.1 and has been fixed in 8.20.1. The CVSS v3 base score is 7.5 (High) according to Red Hat's assessment, indicating a network attack vector with low complexity and no required privileges or user interaction, resulting in high confidentiality impact but no integrity or availability impact. No known exploits in the wild have been reported. Red Hat has released advisories and errata addressing this vulnerability.
Potential Impact
An attacker who can cause the websocket.close() function to be called with a TypedArray reason argument may be able to read sensitive information from uninitialized memory. This confidentiality breach does not affect integrity or availability. The vulnerability requires network access but no privileges or user interaction. There are no known active exploits in the wild at this time.
Mitigation Recommendations
A fix is available in ws version 8.20.1. Users and vendors should upgrade to version 8.20.1 or later to remediate this vulnerability. Red Hat has released security advisories and errata that include this fix for affected products. No additional mitigations are specified or required beyond applying the official update.
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
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-45736","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29197","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26638","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26994","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:27171","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7655","vendor":"Red Hat"}]
Threat ID: 6a073a04ec166c07b05c5b44
Added to database: 05/15/2026, 15:21:40 UTC
Last enriched: 08/15/2026, 14:23:40 UTC
Last updated: 09/11/2026, 22:23:26 UTC
Views: 1036
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.
External Links
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.