{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.8.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "851117d21fa8eb98f22856b5600e0688c5337214"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ac97fae245aede5ca35f18f96fd30e795efb566c"
            },
            {
              "fixed": "851117d21fa8eb98f22856b5600e0688c5337214"
            }
          ],
          "repo": "https://github.com/faye/websocket-driver-node",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-c4gv-fww2-jp3r"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-248"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140003.json"
  },
  "details": "websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, the draft76 handshake parser derives integers from Sec-WebSocket-Key1 and Sec-WebSocket-Key2 by extracting digits and dividing by the number of spaces, then writes the results as unsigned 32-bit values. An unauthenticated remote client can supply a key whose derived value exceeds 32 bits, causing a Buffer range exception that crashes the process on Node.js v22 and below. This issue is fixed in version 0.8.0.",
  "id": "CVE-2026-140003",
  "modified": "2026-11-30T22:46:14.400762124Z",
  "published": "2026-11-30T21:26:36.930Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140003.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/faye/websocket-driver-node/commit/851117d21fa8eb98f22856b5600e0688c5337214"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/faye/websocket-driver-node/security/advisories/GHSA-c4gv-fww2-jp3r"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-140003"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 header"
}