{
  "id": "CVE-2026-12151",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-12151",
  "published_at": "2026-06-17T16:05:38.785Z",
  "title": "undici WebSocket client vulnerable to denial of service via fragment count bypass",
  "vendor": "undici",
  "product": "undici",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Impact:\nThe undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments. A malicious WebSocket server can stream many small or empty continuation frames that each pass per-frame and cumulative-size validation, collectively causing unbounded memory growth in the client process. The result is memory exhaustion and a denial of service.\n\nAffected applications are those using the undici WebSocket client (new WebSocket(...)) or the WebSocketStream API that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint.\n\nAll releases starting at undici 6.17.0 are affected.\n\nPatches: Upgrade to undici \u003e= 6.26.0, \u003e= 7.28.0, or \u003e= 8.5.0. Workarounds:\nNo workaround is available. The fix must be applied through an upgrade.",
  "cwe": "CWE-400",
  "cpes": [
    "cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "undici",
        "product": "undici",
        "ranges": [
          "\u003c 6.26.0",
          "\u003e= 7.0.0, \u003c 7.28.0",
          "\u003e= 8.0.0, \u003c 8.5.0"
        ],
        "fixed_in": [
          "6.26.0",
          "7.28.0",
          "8.5.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade undici to 6.26.0 or 7.28.0 or 8.5.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nodejs/undici/security/advisories/GHSA-vxpw-j846-p89q"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
