CVE-2026-140001
websocket- driver: Memory exhaustion triggered by buffering of zero- length fragmented frames
- Severity
- 7.5HighNetwork attack, no privileges, no user interactionCVSS 3.1, CVE List
- Exploitation
- None reported
- Exploit chance
- 0.52% in 30 daysPercentile45thEPSS, scored
- Listed fix
0.8.1for websocket-driver (npm) From GitHub Advisories and OSV8 other affected packages
Overview
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.
CVSS 3.1 vector
Exploitability
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
Impact
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploit chance over time
Affected
Packages 9
| Package | Affected | Fixed |
|---|---|---|
websocket-drivernpm | before 0.8.1 | 0.8.1 |
js-jqueryAzure Linux:3 | through 3.5.0-4 | None listed |
python-tensorboardAzure Linux:3 | through 2.16.2-6 | None listed |
node-websocket-driverDebian:12 | All versions, plus listed versions 0.7.4+~cs0.6.14-10.7.4+~cs0.6.7-20.7.5+~cs0.6.14-1 | None listed |
node-websocket-driverDebian:13 | All versions, plus listed versions 0.7.4+~cs0.6.14-10.7.4+~cs0.6.7-20.7.5+~cs0.6.14-1 | None listed |
node-websocket-driverDebian:14 | All versions, plus listed versions 0.7.4+~cs0.6.14-10.7.4+~cs0.6.7-20.7.5+~cs0.6.14-1 | None listed |
librechat-0Docker Hardened Images:Alpine:3.23 | 0.8.8-r0 and later, plus listed versions 0.8.8-r10.8.8-r20.8.8-r30.8.8-r40.8.8-r5 Show 5 more versionsShow less0.8.8-r60.8.9-r00.8.9-r10.8.9-r20.8.9-r3 | None listed |
librechat-0Docker Hardened Images:Alpine:3.24 | 0.8.8-r0 and later, plus listed versions 0.8.8-r10.8.8-r20.8.8-r30.8.8-r40.8.8-r5 Show 5 more versionsShow less0.8.8-r60.8.9-r00.8.9-r10.8.9-r20.8.9-r3 | None listed |
librechat-0Docker Hardened Images:Debian:13 | 0.8.8-0 and later, plus listed versions 0.8.8-10.8.8-20.8.8-30.8.8-40.8.8-5 Show 5 more versionsShow less0.8.9-00.8.9-10.8.9-20.8.9-30.8.9-4 | None listed |
Only in multi-CVE advisories 1
Each of these advisories covers several CVEs at once, so it doesn’t establish that this one affects the package.
| Package | Affected | Fixed |
|---|---|---|
websocket-driverTuxCare:npm | 0.7.5-tuxcare.0 up to 0.7.5-tuxcare.3, plus listed versions From an advisory covering 5 CVEs 0.7.50.7.5-tuxcare.10.7.5-tuxcare.2 | 0.7.5-tuxcare.3 |
| 0.7.4-tuxcare.0 up to 0.7.4-tuxcare.3, plus listed versions From an advisory covering 5 CVEs 0.7.40.7.4-tuxcare.10.7.4-tuxcare.2 | 0.7.4-tuxcare.3 | |
| 0.6.5-tuxcare.0 up to 0.6.5-tuxcare.3, plus listed versions From an advisory covering 2 CVEs 0.6.50.6.5-tuxcare.10.6.5-tuxcare.2 | 0.6.5-tuxcare.3 |
Products 1
Exploits
Sources link exploit code, tools that only detect the flaw and other work on it, and most don’t say which a link is.
| Link | Source | Date |
|---|---|---|
| googlesky/CVE-2026-140001 | PoC in GitHub | 2026-12-02 |
Sources
CVE List Score usedCVSS 3.17.5
websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames
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.
- Record
CVE-2026-140001- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400, CWE-770
- Updated
- 2026-12-01
EUVDEUVD-2026-139701CVSS 3.17.5
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.
- Record
EUVD-2026-139701- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-12-01
GitHub AdvisoriesGHSA-7487-9gcw-9w8wCVSS 3.17.5
websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames
Summary
A server accepting WebSocket connections using websocket-driver can be made to run out of memory by a client sending an indefinite stream of zero-length fragmented message frames.
Details
The WebSocket protocol allows messages to be delivered as a series of "fragment" frames. websocket-driver buffers all the individual fragments it receives and then concatenates them all when the final fragment is received. By sending a stream of zero-length fragment frames, a client can make the driver store a growing array of zero-length Buffer objects in memory, eventually causing it to run out of heap space.
This has been mitigated by discarding zero-length fragments when buffering, and by concatenating all received buffers when the number received reaches a certain amount, specifically 1,000,000. websocket-driver does not concatenate buffers on every received frame as this would result in O(n²) time to process a series of frame fragments, as all the data received so far would need to be copied for each new fragment. websocket-driver now compacts the buffer only if it hits a certain size to avoid the buffer array becoming too large.
Impact
A WebSocket server can be made to run out of memory and crash by an unauthenticated remote attacker opening a single connection and sending an indefinite stream of message fragments over it.
- Record
GHSA-7487-9gcw-9w8w- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400, CWE-770
- Updated
- 2026-12-01
NVDCVSS 3.17.5
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.
- Record
CVE-2026-140001- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400, CWE-770
- Updated
- 2026-12-01
OSVCVSS 3.17.5
websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames
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.
- Record
CVE-2026-140001- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400, CWE-770
- Updated
- 2026-12-01
OSVDEBIAN-CVE-2026-140001CVSS 3.17.5
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.
- Record
DEBIAN-CVE-2026-140001- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-12-03
Show 7 more recordsShow less
OSVDHI-fvo6-zcba-4xkc-dyjrCVSS 3.17.5
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.1, the…
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.
- Record
DHI-fvo6-zcba-4xkc-dyjr- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-12-04
OSVGHSA-7487-9gcw-9w8wCVSS 3.17.5
websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames
Summary
A server accepting WebSocket connections using websocket-driver can be made to run out of memory by a client sending an indefinite stream of zero-length fragmented message frames.
Details
The WebSocket protocol allows messages to be delivered as a series of "fragment" frames. websocket-driver buffers all the individual fragments it receives and then concatenates them all when the final fragment is received. By sending a stream of zero-length fragment frames, a client can make the driver store a growing array of zero-length Buffer objects in memory, eventually causing it to run out of heap space.
This has been mitigated by discarding zero-length fragments when buffering, and by concatenating all received buffers when the number received reaches a certain amount, specifically 1,000,000. websocket-driver does not concatenate buffers on every received frame as this would result in O(n²) time to process a series of frame fragments, as all the data received so far would need to be copied for each new fragment. websocket-driver now compacts the buffer only if it hits a certain size to avoid the buffer array becoming too large.
Impact
A WebSocket server can be made to run out of memory and crash by an unauthenticated remote attacker opening a single connection and sending an indefinite stream of message fragments over it.
- Record
GHSA-7487-9gcw-9w8w- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400, CWE-770
- Updated
- 2026-12-01
OSVAZL-117520No score
CVE-2026-140001 affecting package js-jquery 3.5.0-4
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.
- Record
AZL-117520- Updated
- 2026-12-03
OSVAZL-117614No score
CVE-2026-140001 affecting package python-tensorboard 2.16.2-6
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.
- Record
AZL-117614- Updated
- 2026-12-03
OSVCLSA-2026-1796199359No score
TuxCare security update for websocket-driver (5 CVEs)
TuxCare rebuilt websocket-driver to address 5 CVEs. Fixed in 0.7.5-tuxcare.3.
- Record
CLSA-2026-1796199359- Updated
- 2026-12-04
OSVCLSA-2026-1796206185No score
TuxCare security update for websocket-driver (5 CVEs)
TuxCare rebuilt websocket-driver to address 5 CVEs. Fixed in 0.7.4-tuxcare.3.
- Record
CLSA-2026-1796206185- Updated
- 2026-12-04
OSVCLSA-2026-1796226468No score
TuxCare security update for websocket-driver (2 CVEs)
TuxCare rebuilt websocket-driver to address 2 CVEs. Fixed in 0.6.5-tuxcare.3.
- Record
CLSA-2026-1796226468- Updated
- 2026-12-03
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Affected packages, other IDs | OSV | |
| Affected packages, other IDs, references | OSV | |
| Affected packages, other IDs, references | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs, references | OSV | |
| Exploit links, key facts | PoC in GitHub | |
| Affected packages, other IDs | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs, references | OSV | |
| Published date | EUVD, OSV | |
| Published date | EUVD | |
| Affected packages, references | OSV | |
| Affected packages, key facts, references | CVE List, GitHub Advisories, NVD | |
| Other IDs, references | NVD, OSV | |
| Other IDs, published date | EUVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/faye/websocket-driver-node/security/advisories/GHSA-7487-9gcw-9w8w
github.com/faye/websocket-driver-node/commit/b1dc2c7d70965bff9349351b856168eeec63b280
nvd.nist.gov/vuln/detail/CVE-2026-140001
github.com/advisories/GHSA-7487-9gcw-9w8w
github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140001.json
security-tracker.debian.org/tracker/CVE-2026-140001
scout.docker.com/v/DHI-fvo6-zcba-4xkc-dyjr
ubuntu.com/security/CVE-2026-140001
people.ubuntu.com/~ubuntu-security/cve/CVE-2026-140001
github.com/faye/websocket-driver-node