Home › CVE › JavaScript
CVE-2026-140003 — faye websocket-driver-node
One of 6 faye websocket-driver-node vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesSummary
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.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| faye websocket-driver-node | < 0.8.0 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- faye websocket-driver-node
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-140003?
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.
How severe is CVE-2026-140003?
CVE-2026-140003 has a CVSS 3.1 base score of 7.5 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-140003 being exploited?
Not as far as is known: CVE-2026-140003 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026.
Which versions are affected by CVE-2026-140003?
faye websocket-driver-node < 0.8.0.
How do I fix CVE-2026-140003?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.