CVE-2026-140003
HIGH 7.5CVSS 3.1websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 header
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.
- Published
- 30 Nov 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-248
- Also known as
- GHSA-c4gv-fww2-jp3r
- Sources
- NVDJSONCVE ListJSONOSV GHSA-c4gv-fww2-jp3rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | faye | websocket-driver-node | = < 0.8.0 | |
| OSV | npm | websocket-driver | < 0.8.0 | 0.8.0 |
References
- https://github.com/faye/websocket-driver-node/commit/851117d21fa8eb98f22856b5600e0688c5337214 · x_refsource_MISC, WEB
- https://github.com/faye/websocket-driver-node/security/advisories/GHSA-c4gv-fww2-jp3r · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-140003 · ADVISORY
- https://github.com/faye/websocket-driver-node · PACKAGE
History
- 3 Dec 2026 17:56 UTC · NVD: 1 reference added
- 3 Dec 2026 16:56 UTC · CVE List: updated (other details)
- 1 Dec 2026 18:39 UTC · OSV: first stored (published 1 Dec 2026)
- 30 Nov 2026 22:30 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 21:58 UTC · CVE List: first stored (published 30 Nov 2026)