Skip to content
Heist/ feed
Back to feed
MediumFix available

undici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG buffering

Type: advisorySources: OSV

### Impact undici's WebSocket client (including Node.js's bundled `globalThis.WebSocket`) can be driven to exhaust process memory by a malicious or compromised WebSocket server. For every PING frame received, the receiver automatically writes a PONG response to the socket and ignores the `false` return value from `socket.write()`, which is a backpressure signal, so a server that streams small PING frames while never reading the client's PONGs makes the outbound write queue and heap grow without bound until the Node.js process runs out of memory and terminates. The attack is remote and unauthenticated, needs only a normal WebSocket connection, and is asymmetric: small inbound PINGs produce a much larger retained outbound queue. Availability is the only impact. undici 5.x, 6.x, 7.x, and 8.x are affected; the WebSocket client was introduced in 5.15.0. ### Patches Upgrade to `6.29.1`, `7.30.1`, or `8.12.2`, which pause WebSocket frame parsing when the automatic PONG response hits socket backpressure and resume on drain, bounding the outbound queue. ### Workarounds None.

Products
undici
Affected versions
Not specified
Fixed versions
6.29.1, 7.30.1, 8.12.2
CVEs
CVE-2026-109932
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 13:56 UTC · Revision 1

Source evidence

undici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG buffering

core-osv · Original source

Published 27 Oct 2026, 19:02 UTC

### Impact undici's WebSocket client (including Node.js's bundled `globalThis.WebSocket`) can be driven to exhaust process memory by a malicious or compromised WebSocket server. For every PING frame received, the receiver automatically writes a PONG response to the socket and ignores the `false` return value from `socket.write()`, which is a backpressure signal, so a server that streams small PING frames while never reading the client's PONGs makes the outbound write queue and heap grow without bound until the Node.js process runs out of memory and terminates. The attack is remote and unauthenticated, needs only a normal WebSocket connection, and is asymmetric: small inbound PINGs produce a much larger retained outbound queue. Availability is the only impact. undici 5.x, 6.x, 7.x, and 8.x are affected; the WebSocket client was introduced in 5.15.0. ### Patches Upgrade to `6.29.1`, `7.30.1`, or `8.12.2`, which pause WebSocket frame parsing when the automatic PONG response hits socket backpressure and resume on drain, bounding the outbound queue. ### Workarounds None.

osv:GHSA-9fm3-97px-rjf6

undici

Fixed versions: 6.29.1

undici

Fixed versions: 7.30.1

undici

Fixed versions: 8.12.2

Complete source record
{
  "id": "4feee3268e9ccaf52b3ce4c69177860745035c7622b1dea53b3701ad60928195",
  "url": "https://osv.dev/vulnerability/GHSA-9fm3-97px-rjf6",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "undici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG buffering",
    "summary": "### Impact undici's WebSocket client (including Node.js's bundled `globalThis.WebSocket`) can be driven to exhaust process memory by a malicious or compromised WebSocket server. For every PING frame received, the receiver automatically writes a PONG response to the socket and ignores the `false` return value from `socket.write()`, which is a backpressure signal, so a server that streams small PING frames while never reading the client's PONGs makes the outbound write queue and heap grow without bound until the Node.js process runs out of memory and terminates. The attack is remote and unauthenticated, needs only a normal WebSocket connection, and is asymmetric: small inbound PINGs produce a much larger retained outbound queue. Availability is the only impact. undici 5.x, 6.x, 7.x, and 8.x are affected; the WebSocket client was introduced in 5.15.0. ### Patches Upgrade to `6.29.1`, `7.30.1`, or `8.12.2`, which pause WebSocket frame parsing when the automatic PONG response hits socket backpressure and resume on drain, bounding the outbound queue. ### Workarounds None.",
    "evidence": "osv:GHSA-9fm3-97px-rjf6",
    "products": [
      {
        "name": {
          "value": "undici",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.29.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "undici",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.30.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "undici",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.12.2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "GHSA-9fm3-97px-rjf6",
      "aliases": [
        "CVE-2026-109932",
        "GHSA-9fm3-97px-rjf6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "5.15.0"
                },
                {
                  "fixed": "6.29.1"
                }
              ]
            }
          ],
          "package": {
            "name": "undici",
            "purl": "pkg:npm/undici",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-9fm3-97px-rjf6/GHSA-9fm3-97px-rjf6.json"
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "7.0.0"
                },
                {
                  "fixed": "7.30.1"
                }
              ]
            }
          ],
          "package": {
            "name": "undici",
            "purl": "pkg:npm/undici",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-9fm3-97px-rjf6/GHSA-9fm3-97px-rjf6.json"
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "8.0.0"
                },
                {
                  "fixed": "8.12.2"
                }
              ]
            }
          ],
          "package": {
            "name": "undici",
            "purl": "pkg:npm/undici",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-9fm3-97px-rjf6/GHSA-9fm3-97px-rjf6.json"
          }
        }
      ],
      "modified": "2026-10-27T19:15:22.400702743Z",
      "provider": "osv",
      "references": [
        "https://github.com/nodejs/undici/security/advisories/GHSA-9fm3-97px-rjf6",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-109932",
        "https://github.com/nodejs/undici/commit/39f93e142df03e559fe7c3d1fc7fba9beee2c185",
        "https://github.com/nodejs/undici/commit/53944624462b6797560288c55dbd8c66857bb495",
        "https://github.com/nodejs/undici/commit/b217373bb024cd93f85eb5b3ffd25684855f60f8",
        "https://cna.openjsf.org/security-advisories.html",
        "https://github.com/nodejs/undici",
        "https://github.com/nodejs/undici/releases/tag/v6.29.1",
        "https://github.com/nodejs/undici/releases/tag/v7.30.1",
        "https://github.com/nodejs/undici/releases/tag/v8.12.2"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400",
          "CWE-405",
          "CWE-770"
        ],
        "severity": "MODERATE",
        "github_reviewed": true,
        "nvd_published_at": "2026-10-15T19:17:22Z",
        "github_reviewed_at": "2026-10-27T19:02:15Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-109932",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 484989,
  "published_at": "2026-10-27T19:02:15+00:00"
}