npm
CVE-2026-140005
websocket-driver: Denial of service triggered by client sending a single pong frame
- Severity
- High 7.5
- Published
- 1 Dec 2026
- Last changed
- 1 Dec 2026
- Added to UpHeron
- 1 Dec 2026
- Fixed in
- 0.8.0
- Exploit chance
- 0.6% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 1 Dec 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-9g4r-f5gq-qjrr
- Sources
- OSV.dev and GitHub
Description
An unauthenticated remote client can trigger an instant crash and denial of service by sending a WebSocket pong frame with specific content.
This library lets a WebSocket connection send a ping frame to the remote peer and register a callback for when the corresponding pong frame is received. These callbacks are stored in a JavaScript object and indexed on the ping message content. This means the remote peer can invoke Object properties by sending a pong frame whose payload is the name of an Object method, for example hasOwnProperty. If the message names a field whose value is not a function, and the local peer never sent a ping with that content, then the local peer will attempt to call a non-function value, producing an error that crashes the process on Node.js v22 and below.
Users running a server using websocket-driver to handle WebSocket connections are vulnerable to denial of service triggered by a single frame sent by an unauthenticated client.
Affected software
| Software | Affected versions |
|---|---|
websocket-drivernpm · osv:npm:websocket-driver |
|
About websocket-driver
- Weekly downloads (npm)
- 39,177,273npm, 1 Dec 2026
Vulnerabilities in websocket-driver
- In our list
- 6
- Published in the last 12 months
- 6
- Critical, last 12 months
- 1
- High, last 12 months
- 5
- Known exploited
- 0
- CVE-2026-140001websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented framesHigh 7.5 1 Dec 2026
- CVE-2026-140002websocket-driver: Memory exhaustion triggered by buffering of data received after socket is closedHigh 7.5 1 Dec 2026
- CVE-2026-140003websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 headerHigh 7.5 1 Dec 2026
- CVE-2026-140004websocket-driver: Message corruption and denial of service triggered by crafted client messageCritical 9.1 1 Dec 2026
- CVE-2026-134813Faye websocket-driver 0.5.0 before 0.8.0 Decompression Bomb via permessage-deflateHigh 8.7 22 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140005
- GitHub Advisory Database https://github.com/advisories/GHSA-9g4r-f5gq-qjrr