Article View: linux.debian.bugs.dist
Article #7414Bug#1156316: node-websocket-driver: CVE-2026-140000 CVE-2026-140001 CVE-2026-140002 CVE-2026-140003 CVE-2026-140004 CVE-2026-140...
From: Salvatore Bonaccorso
Date: Fri, 04 Dec 2026 04:20
Date: Fri, 04 Dec 2026 04:20
100 lines
6287 bytes
6287 bytes
Source: node-websocket-driver
Version: 0.7.5+~cs0.6.14-1
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security upstream
Hi,
The following vulnerabilities were published for node-websocket-driver.
CVE-2026-140000[0]:
| websocket-driver is a WebSocket protocol handler with pluggable
| input and output. Prior to 0.8.2, StreamReader.read() uses
| Buffer.slice() for small reads, so small fragmented message frames
| can retain references to much larger TCP input Buffer objects.
| Before 0.8.1, unfinished fragments can retain source TCP reads until
| the message completes or reaches maxLength; in 0.8.1, compaction
| occurs after 1,000,000 fragments but can still retain up to
| 1,000,000 TCP inputs. An unauthenticated remote client can exploit
| this retention to cause substantial memory inflation and potentially
| exhaust server memory. This issue is fixed in version 0.8.2.
CVE-2026-140001[1]:
| websocket-driver is a WebSocket protocol handler with pluggable
| input and output. Prior to 0.8.1, the fragmented-message buffer
| stores every received frame payload, including zero-length Buffer
| objects, until a final fragment arrives. An unauthenticated remote
| client can keep one message unfinished while sending an indefinite
| stream of zero-length continuation frames, causing the fragment
| array to grow until the Node.js process exhausts heap memory and
| crashes. This issue is fixed in version 0.8.1.
CVE-2026-140002[2]:
| websocket-driver is a WebSocket protocol handler with pluggable
| input and output. Prior to 0.8.1, receiving a WebSocket close frame
| moves the driver into a state where the parser no longer consumes
| input, but a half-open TCP client can continue sending bytes that
| the driver buffers in memory. An unauthenticated remote client can
| send one close frame, keep its side of the connection open, and
| stream data indefinitely until the server exhausts memory and
| crashes. This issue is fixed in version 0.8.1.
CVE-2026-140003[3]:
| 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.
CVE-2026-140004[4]:
| websocket-driver is a WebSocket protocol handler with pluggable
| input and output. Prior to 0.8.0, a bug in the draft75 and draft76
| message parser mishandles a short crafted byte sequence. An
| unauthenticated remote client can send this sequence over a legacy
| WebSocket connection, causing a received message to be emitted twice
| or causing the server process to crash. This issue is fixed in
| version 0.8.0.
CVE-2026-140005[5]:
| websocket-driver is a WebSocket protocol handler with pluggable
| input and output. Prior to 0.8.0, pong payloads are used directly as
| property names in an ordinary JavaScript callback object, allowing
| inherited Object properties to be selected even when no matching
| ping callback was registered. An unauthenticated remote peer can
| send a pong whose payload names a property such as __proto__ or
| hasOwnProperty, causing the driver to call a non-callback value or
| an unbound built-in method and crash the process on Node.js v22 and
| below. This issue is fixed in version 0.8.0.
If updating to 0.8.2 then all of the CVE will be covered, they are
fixed across 0.8.0 to 0.8.2.
If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-140000
https://www.cve.org/CVERecord?id=CVE-2026-140000
[1] https://security-tracker.debian.org/tracker/CVE-2026-140001
https://www.cve.org/CVERecord?id=CVE-2026-140001
[2] https://security-tracker.debian.org/tracker/CVE-2026-140002
https://www.cve.org/CVERecord?id=CVE-2026-140002
[3] https://security-tracker.debian.org/tracker/CVE-2026-140003
https://www.cve.org/CVERecord?id=CVE-2026-140003
[4] https://security-tracker.debian.org/tracker/CVE-2026-140004
https://www.cve.org/CVERecord?id=CVE-2026-140004
[5] https://security-tracker.debian.org/tracker/CVE-2026-140005
https://www.cve.org/CVERecord?id=CVE-2026-140005
Regards,
Salvatore
Technical Details
Message-ID:
<O6sW5-fRSQ-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Salvatore Bonaccorso <carnil@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1156316: node-websocket-driver: CVE-2026-140000 CVE-2026-140001 CVE-2026-140002 CVE-2026-140003 CVE-2026-140004 CVE-2026-140005 Date: Fri, 04 Dec 2026 05:20:01 +0100 Message-ID: <O6sW5-fRSQ-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Dec 4 04:17:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1156316@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team@security.debian.org, pkg-javascript-devel@lists.alioth.debian.org X-Debian-Pr-Message: report 1156316 X-Debian-Pr-Package: src:node-websocket-driver X-Debian-Pr-Keywords: security upstream X-Debian-Pr-Source: node-websocket-driver MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-User: carnil X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006869 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 100 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 4 Dec 2026 05:16:22 +0100 X-Original-Message-ID: <axI-lrqIfiYtX7f8@eldamar.lan>