<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sat, 28 Nov 2026 19:42:40 +0000</lastBuildDate>
    <item>
      <title>GHSA-58qx-3vcg-4xpx — ws: Uninitialized memory disclosure</title>
      <link>https://db.gcve.eu/vuln/ghsa-58qx-3vcg-4xpx</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: ws&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The `websocket.close()` implementation is vulnerable to uninitialized memory disclosure when a `TypedArray` is passed as the reason argument.&lt;/p&gt;
&lt;p&gt;### Proof of concept&lt;/p&gt;
&lt;p&gt;```js
import { deepStrictEqual } from &amp;#39;node:assert&amp;#39;;
import { WebSocket, WebSocketServer } from &amp;#39;ws&amp;#39;;&lt;/p&gt;
&lt;p&gt;const wss = new WebSocketServer(
  { port: 0, skipUTF8Validation: true },
  function () {
    const { port } = wss.address();
    const ws = new WebSocket(`ws://localhost:${port}`, {
      skipUTF8Validation: true
    });&lt;/p&gt;
&lt;p&gt;ws.on(&amp;#39;close&amp;#39;, function (code, reason) {
      deepStrictEqual(reason, Buffer.alloc(80));
    });
  }
);&lt;/p&gt;
&lt;p&gt;wss.on(&amp;#39;connection&amp;#39;, function (ws) {
  ws.close(1000, new Float32Array(20));
});
```&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;The vulnerability was fixed in ws@8.20.1 (https://github.com/websockets/ws/commit/c0327ec15a54d701eb6ccefaa8bef328cfc03086).&lt;/p&gt;
&lt;p&gt;### Credits&lt;/p&gt;
&lt;p&gt;Credit for the private and responsible disclosure of this issue goes to [Nikita Skovoroda](https://github.com/ChALkeR).&lt;/p&gt;
&lt;p&gt;### Remarks&lt;/p&gt;
&lt;p&gt;Although the calculated CVSS severity is medium, the actual severity is believed to be low, as the flaw is only exploitable through misuse that is unlikely in practice.&lt;/p&gt;
&lt;p&gt;### Resources&lt;/p&gt;
&lt;p&gt;- https://github.com/advisories/GHSA-58qx-3vcg-4xpx
- https://www.cve.org/CVERecord?id=CVE-2026-45736&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: ws&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The `websocket.close()` implementation is vulnerable to uninitialized memory disclosure when a `TypedArray` is passed as the reason argument.&lt;/p&gt;
&lt;p&gt;### Proof of concept&lt;/p&gt;
&lt;p&gt;```js
import { deepStrictEqual } from &amp;#39;node:assert&amp;#39;;
import { WebSocket, WebSocketServer } from &amp;#39;ws&amp;#39;;&lt;/p&gt;
&lt;p&gt;const wss = new WebSocketServer(
  { port: 0, skipUTF8Validation: true },
  function () {
    const { port } = wss.address();
    const ws = new WebSocket(`ws://localhost:${port}`, {
      skipUTF8Validation: true
    });&lt;/p&gt;
&lt;p&gt;ws.on(&amp;#39;close&amp;#39;, function (code, reason) {
      deepStrictEqual(reason, Buffer.alloc(80));
    });
  }
);&lt;/p&gt;
&lt;p&gt;wss.on(&amp;#39;connection&amp;#39;, function (ws) {
  ws.close(1000, new Float32Array(20));
});
```&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;The vulnerability was fixed in ws@8.20.1 (https://github.com/websockets/ws/commit/c0327ec15a54d701eb6ccefaa8bef328cfc03086).&lt;/p&gt;
&lt;p&gt;### Credits&lt;/p&gt;
&lt;p&gt;Credit for the private and responsible disclosure of this issue goes to [Nikita Skovoroda](https://github.com/ChALkeR).&lt;/p&gt;
&lt;p&gt;### Remarks&lt;/p&gt;
&lt;p&gt;Although the calculated CVSS severity is medium, the actual severity is believed to be low, as the flaw is only exploitable through misuse that is unlikely in practice.&lt;/p&gt;
&lt;p&gt;### Resources&lt;/p&gt;
&lt;p&gt;- https://github.com/advisories/GHSA-58qx-3vcg-4xpx
- https://www.cve.org/CVERecord?id=CVE-2026-45736&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-58qx-3vcg-4xpx</guid>
    </item>
  </channel>
</rss>
