CVE Database›Document archive›CVE-2026-45736

CVE-2026-45736

ws: ws: Uninitialized memory disclosure via `websocket.close()` with `TypedArray`

Loading…

Severity

Important

Red Hat Product Security

7.5

CVSS 3.1

Review impact separately from score.

Published · May 15, 2026

Updated · October 30, 2026

Description

A flaw was found in ws, an open source WebSocket client and server for Node.js. The websocket.close() implementation is vulnerable to uninitialized memory disclosure when a TypedArray is passed as the reason argument. This can lead to the disclosure of sensitive information from uninitialized memory.

Statement

This Important vulnerability in the ws WebSocket library for Node.js could lead to sensitive information disclosure. The flaw occurs when a TypedArray is specifically provided as the reason argument to the websocket.close() function, potentially exposing uninitialized memory. Red Hat products utilizing this library may be affected if their implementations allow for such a crafted close() call.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CWE-824 · Access of Uninitialized Pointer