CVE-2026-45736

ws: Uninitialized memory disclosure

State
Published
Severity
4.4 Medium
Published
May 15, 2026
Updated
Sep 11, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.4 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:NGitHub_M
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nredhat-SADP

Weaknesses

  • CWE-908 Use of Uninitialized Resource
  • CWE-824 Access of Uninitialized Pointer

Affected Products

ProductVersions
wswebsockets
  • >= 8.0.0, < 8.20.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.