Skip to content
Heist/ feed
Back to feed
Medium

ws: Uninitialized memory disclosure

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-45736
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 21:55 UTC · Revision 1

Source evidence

ws: Uninitialized memory disclosure

core-osv · Original source

Published 15 May 2026, 14:53 UTC

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.

osv:CVE-2026-45736
Complete source record
{
  "id": "eceff3250d272a9f4fedc155997d0f650b7e6696763f3b6e9dbf4d95a38d0f0e",
  "url": "https://osv.dev/vulnerability/CVE-2026-45736",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ws: Uninitialized memory disclosure",
    "summary": "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.",
    "evidence": "osv:CVE-2026-45736",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-45736",
      "aliases": [
        "CVE-2026-45736",
        "GHSA-58qx-3vcg-4xpx"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/websockets/ws",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fc4024898c0da9b587c50a4a2d02d3ff88cddf06"
                },
                {
                  "fixed": "5d9b316230ea931532a6671cc450f18c11edd02f"
                },
                {
                  "fixed": "c0327ec15a54d701eb6ccefaa8bef328cfc03086"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ws_project:ws:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "8.20.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c0327ec15a54d701eb6ccefaa8bef328cfc03086"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "8.20.0",
            "8.19.0",
            "8.18.3",
            "8.18.2",
            "8.18.1",
            "8.18.0",
            "8.17.1",
            "8.17.0",
            "8.16.0",
            "8.15.1",
            "8.15.0",
            "8.14.2",
            "8.14.1",
            "8.14.0",
            "8.13.0",
            "8.12.1",
            "8.12.0",
            "8.11.0",
            "8.10.0",
            "8.9.0",
            "8.8.1",
            "8.8.0",
            "8.7.0",
            "8.6.0",
            "8.5.0",
            "8.4.2",
            "8.4.1",
            "8.4.0",
            "8.3.0",
            "8.2.3",
            "8.2.2",
            "8.2.1",
            "8.2.0",
            "8.1.0",
            "8.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45736.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.124709046Z",
      "provider": "osv",
      "references": [
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45736.json",
        "https://access.redhat.com/errata/RHSA-2026:26638",
        "https://access.redhat.com/errata/RHSA-2026:26994",
        "https://access.redhat.com/errata/RHSA-2026:27171",
        "https://access.redhat.com/errata/RHSA-2026:29197",
        "https://access.redhat.com/errata/RHSA-2026:33574",
        "https://access.redhat.com/errata/RHSA-2026:34374",
        "https://access.redhat.com/errata/RHSA-2026:36754",
        "https://access.redhat.com/errata/RHSA-2026:36820",
        "https://access.redhat.com/errata/RHSA-2026:37272",
        "https://access.redhat.com/errata/RHSA-2026:40768",
        "https://access.redhat.com/errata/RHSA-2026:40792",
        "https://access.redhat.com/errata/RHSA-2026:41928",
        "https://access.redhat.com/errata/RHSA-2026:44235",
        "https://access.redhat.com/errata/RHSA-2026:44263",
        "https://access.redhat.com/errata/RHSA-2026:44267",
        "https://access.redhat.com/errata/RHSA-2026:48151",
        "https://access.redhat.com/errata/RHSA-2026:48693",
        "https://access.redhat.com/errata/RHSA-2026:56366",
        "https://access.redhat.com/errata/RHSA-2026:56431",
        "https://access.redhat.com/errata/RHSA-2026:56928",
        "https://access.redhat.com/errata/RHSA-2026:57013",
        "https://access.redhat.com/errata/RHSA-2026:57590",
        "https://access.redhat.com/errata/RHSA-2026:60520",
        "https://access.redhat.com/errata/RHSA-2026:65126",
        "https://access.redhat.com/errata/RHSA-2026:66488",
        "https://access.redhat.com/errata/RHSA-2026:66545",
        "https://access.redhat.com/errata/RHSA-2026:7655",
        "https://access.redhat.com/security/cve/CVE-2026-45736",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45736.json",
        "https://github.com/websockets/ws/security/advisories/GHSA-58qx-3vcg-4xpx",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-45736",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2477914",
        "https://github.com/websockets/ws/commit/c0327ec15a54d701eb6ccefaa8bef328cfc03086"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-908"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45736.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-45736",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490399,
  "published_at": "2026-05-15T14:53:57.263+00:00"
}