CVE-2026-140000 — Websocket-driver — CWE-400 · CWE-770
### Summary With the default configuration options, an unauthenticated remote client is able to force the server to retain large `Buffer` objects in memory far longer than necessary, by sending it a series of small fragment frames embedded in larger chunks of TCP input. This can cause substantial memory inflation and lead to the server running out of memory and crashing. ### Details `websocket-driver` handles incoming TCP input via a `pipe()` call that feeds `Buffer` objects read from a TCP stream into the driver. A class named `StreamReader` stores the sequence of received buffers in an array and its `read(length)` method is used by the parser to consume arbitrary-sized chunks of the input stream. If the requested `length` is smaller than the length of the first `Buffer` in the input queue, the `Buffer.slice()` method is used to take a reference to a slice of that `Buffer` without copying it. Since `slice()` takes a reference to the source `Buffer`, the source is not garbage collected until all slices taken from it are dropped. A client can abuse this by embedding a 1-byte fragmented message frame in a larger chunk of TCP input, for example a long sequence of pong frames. The parser will take a 4-byte slice for the frame mask and a 1-byte slice for the frame payload, and these slices will internally reference the original TCP read input. Since the fragments are buffered indefinitely until either the message is completed or the total of the 1-byte fragments exceeds `maxL
### Summary With the default configuration options, an unauthenticated remote client is able to force the server to retain large `Buffer` objects in memory far longer than necessary, by sending it a series of small fragment frames embedded in larger chunks of TCP input. This can cause substantial memory inflation and lead to the server running out of memory and crashing. ### Details `websocket-driver` handles incoming TCP input via a `pipe()` call that feeds `Buffer` objects read from a TCP stream into the driver. A class named `StreamReader` stores the sequence of received buffers in an array and its `read(length)` method is used by the parser to consume arbitrary-sized chunks of the input stream. If the requested `length` is smaller than the length of the first `Buffer` in the input queue, the `Buffer.slice()` method is used to take a reference to a slice of that `Buffer` without copying it. Since `slice()` takes a reference to the source `Buffer`, the source is not garbage collected until all slices taken from it are dropped. A client can abuse this by embedding a 1-byte fragmented message frame in a larger chunk of TCP input, for example a long sequence of pong frames. The parser will take a 4-byte slice for the frame mask and a 1-byte slice for the frame payload, and these slices will internally reference the original TCP read input. Since the fragments are buffered indefinitely until either the message is completed or the total of the 1-byte fragments exceeds `maxL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-140000
CVSS 7.5/10 · HIGH · 30.11.2026
CWE: CWE-400, CWE-770
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Summary
With the default configuration options, an unauthenticated remote client is able to force the server to retain large Buffer objects in memory far longer than necessary, by sending it a series of small fragment frames embedded in larger chunks of TCP input. This can cause substantial memory inflation and lead to the server running out of memory and crashing. ### Details
`websocke…
Affected: websocket-driver
⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N) · low attack complexity (AC:L).
🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); service can be completely taken down.
🛡️ REMEDIATION
→ Apply vendor security update for websocket-driver.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
⚠️ This week (7 days) — High risk, anonymous remote.
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]