CVE-2026-45736: websockets ws · Use of Uninitialized Resource
Affects websockets wsSource CVE Database V5
Not known to be exploited · CVSS 4.4 Medium : upgrade to 8.20.1 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.20.1
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 15 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade websockets ws to 8.20.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| websocketsws | Affected
| Fixed in
|
npmwspkg:npm/wsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
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.
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.
References
- github.com/websockets/ws/security/advisories/GHSA-58qx-3vcg-4xpx (opens in a new tab)
- github.com/websockets/ws/commit/c0327ec15a54d701eb6ccefaa8bef328cfc03086 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-45736 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2477914 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45736.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:48151 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:34374 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36754 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33574 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:29197 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:26638 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:26994 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:27171 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7655 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:41928 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:44235 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:44263 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:44267 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:40792 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:40768 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36820 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:37272 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:48693 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:56431 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:56366 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:57013 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:56928 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:57590 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:60520 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:65126 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:66545 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:66488 (opens in a new tab)