{"id":"CVE-2026-140003","aliases":["CVE-2026-140003"],"related":[],"kind":"vulnerability","state":"published","title":"websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 header","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T21:26:36.930Z","modified":"2026-11-30T22:17:29.830Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-248"],"affected":[{"ranges":[{"version":"< 0.8.0","status":"affected"}],"vendor":"faye","product":"websocket-driver-node","source":"cvelist"}],"references":[{"url":"https://github.com/faye/websocket-driver-node/security/advisories/GHSA-c4gv-fww2-jp3r","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/faye/websocket-driver-node/commit/851117d21fa8eb98f22856b5600e0688c5337214","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140003","url":"https://www.cve.org/CVERecord?id=CVE-2026-140003","licence":"CVE Terms of Use","modified":"2026-11-30T21:26:36.930Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140003","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140003","licence":"Public domain","modified":"2026-11-30T22:17:29.830Z"}],"updatedAt":"2026-11-30T22:32:12.920Z","epss":{"score":0.00621,"percentile":0.51114,"date":"2026-12-01T12:00:22.000Z"}}