CVE-2026-140003

websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 header

Published Nov 30, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-c4gv-fww2-jp3r websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 header
History
Type Values Removed Values Added
First Time appeared Faye
Faye websocket-driver-node
Vendors & Products Faye
Faye websocket-driver-node
Type Values Removed Values Added
Description 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.
Title websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 header
Weaknesses CWE-248
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 3, 2026, 4:46 PM
Reserved
Nov 30, 2026, 6:42 PM
Status
Received
Published
Nov 30, 2026, 10:17 PM
Modified
Dec 3, 2026, 4:18 PM