{
  "id": "CVE-2026-140009",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-140009",
  "published_at": "2026-11-30T21:38:55.376Z",
  "title": "ws: Memory exhaustion DoS via unbounded automatic pong responses",
  "vendor": "websockets",
  "product": "ws",
  "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": {
    "created_at": "2026-12-02T18:45:14Z",
    "first_seen_at": "2026-12-02T19:24:58.353Z",
    "days_after_publication": 1.9,
    "repo": "googlesky/CVE-2026-140009",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "ws is an open source WebSocket client and server for Node.js. Prior to 5.2.8, 6.2.7, 7.5.14, and 8.23.0, a malicious WebSocket peer can send Ping frames while stopping reads, causing ws to generate and buffer automatic Pong responses without a pending-response bound. The queued Pong frames can exhaust process memory and terminate the application; disabling autoPong where available or combining rate limiting with heartbeats mitigates the issue. This issue is fixed in versions 5.2.8, 6.2.7, 7.5.14, and 8.23.0.",
  "cwe": "CWE-400",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [
    {
      "repo": "googlesky/CVE-2026-140009",
      "url": "https://github.com/googlesky/CVE-2026-140009",
      "created_at": "2026-12-02T18:45:14Z",
      "first_seen_at": "2026-12-02T19:24:58.353Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-04-08T15:16:09Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "websockets",
        "product": "ws",
        "ranges": [
          "\u003c 5.2.8",
          "\u003e= 6.0.0, \u003c 6.2.7",
          "\u003e= 7.0.0, \u003c 7.5.14",
          "\u003e= 8.0.0, \u003c 8.23.0"
        ],
        "fixed_in": [
          "5.2.8",
          "6.2.7",
          "7.5.14",
          "8.23.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ws to 5.2.8 or 6.2.7 or 7.5.14 or 8.23.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/websockets/ws/security/advisories/GHSA-37g9-w4hg-h9qr"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/websockets/ws/commit/560e071478550f1227271b09993caff97753f1a1"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/websockets/ws/commit/718c33c8e1ca09a01403eaddea9119b02a63ccfe"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/websockets/ws/commit/8a10a6ad25b04b6a02c56d7237792b7e4ade12b7"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/websockets/ws/commit/ace7248f685b10a87eff882e66c5b37fbee03d63"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
