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

Published Nov 30, 2026
·
Updated

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.

Affected Software

1 affected component
npm/websocket-driver<0.8.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade websocket-driver to a version that resolves this vulnerability.

    Fixed in 0.8.1

Event History

Nov 30, 2026
CVE Published
via MITRE·09:21 PM
Data Sourced
via MITRE·09:21 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this denial-of-service issue?

Deployments using websocket-driver versions before 0.8.1 are affected if an unauthenticated remote client can establish a WebSocket connection and send fragmented frames to the Node.js process.

2

What does an attacker need to do to trigger the crash?

No authentication or user interaction is required. The attacker keeps a fragmented message open and sends an indefinite stream of zero-length continuation frames, causing buffered frame entries to consume heap memory until the process crashes.

3

Is a patch available?

Yes. The issue is fixed in websocket-driver version 0.8.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203