Every CVESearch/Get API key

CVE-2026-140001

websocket-driver: Memory exhaustion triggered by buffering of zero-length fragmented frames

Explain with AI
ChatGPTClaudeGoogle AI
Severity
7.5High
Network attack, no privileges, no user interactionCVSS 3.1, CVE List
Exploitation
None reported
1 exploit-related link
Exploit chance
0.52% in 30 days
Percentile45th
EPSS, scored
Listed fix
0.8.1 for 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:H

Exploit chance over time

Unchanged since Dec 1, 2026
EPSS score 0.52% every day from Dec 1, 2026 to Dec 4, 2026.

Affected

Packages 9

Affected packages
PackageAffectedFixed
websocket-driver
npm
before 0.8.1
0.8.1
js-jquery
Azure Linux:3
through 3.5.0-4None listed
python-tensorboard
Azure Linux:3
through 2.16.2-6None listed
node-websocket-driver
Debian: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-driver
Debian: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-driver
Debian: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-0
Docker 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 less
0.8.8-r60.8.9-r00.8.9-r10.8.9-r20.8.9-r3
None listed
librechat-0
Docker 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 less
0.8.8-r60.8.9-r00.8.9-r10.8.9-r20.8.9-r3
None listed
librechat-0
Docker 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 less
0.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.

Packages named only by advisories that cover several CVEs
PackageAffectedFixed
websocket-driver
TuxCare: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.

Exploit-related links
LinkSourceDate
googlesky/CVE-2026-140001PoC in GitHub2026-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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Changes recorded by Every CVE
DayChangedSources
Affected packages, other IDsOSV
Affected packages, other IDs, referencesOSV
Affected packages, other IDs, referencesOSV
Affected packagesOSV
Affected packages, other IDs, referencesOSV
Exploit links, key factsPoC in GitHub
Affected packages, other IDsOSV
Affected packagesOSV
Affected packages, other IDs, referencesOSV
Published dateEUVD, OSV
Published dateEUVD
Affected packages, referencesOSV
Affected packages, key facts, referencesCVE List, GitHub Advisories, NVD
Other IDs, referencesNVD, OSV
Other IDs, published dateEUVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open