CVE-2026-140015: websocket-driver: Memory exhaustion triggered by buffering of data received after socket is closed

Published Nov 30, 2026
·
Updated

websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.1, a server piping socket bytes into websocket-driver continued adding data to an internal buffer after a WebSocket close frame caused the driver to emit a close event. Because TCP permits the peer to keep a half-open connection and continue sending bytes, the unconsumed buffer could grow indefinitely until an unauthenticated remote attacker exhausted server memory and crashed the process. This issue is fixed in version 0.9.1.

Affected Software

1 affected component
npm/websocket-driver<0.9.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.9.1

Event History

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

Frequently Asked Questions

1

Who is exposed to this issue?

Servers using websocket-driver versions earlier than 0.9.1 are exposed if they pipe socket bytes into the driver. An unauthenticated remote peer can trigger the condition over a WebSocket connection.

2

What does an attacker need to do to cause the denial of service?

The attacker must send a WebSocket close frame, then keep the TCP connection half-open and continue sending bytes. Data received after the close event is buffered without being consumed, allowing memory use to grow until the process crashes.

3

Are confidentiality or integrity affected?

The provided severity vector indicates no confidentiality or integrity impact. The impact is availability: server memory can be exhausted and the affected process can crash.

4

How can I remediate the issue?

Upgrade websocket-driver to version 0.9.1, which fixes the unbounded buffering behavior after a close frame.

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