CVE-2026-140003
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.62% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
faye websocket-driver-node< 0.8.0CVE List

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-140003 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-140003 changed 2026-11-30Public domain