CVE-2026-140002: 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.8.1, receiving a WebSocket close frame moves the driver into a state where the parser no longer consumes input, but a half-open TCP client can continue sending bytes that the driver buffers in memory. An unauthenticated remote client can send one close frame, keep its side of the connection open, and stream data indefinitely until the server exhausts memory and crashes. This issue is fixed in version 0.8.1.

Affected Software

1 affected component
rubygems/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:23 PM
Data Sourced
via MITRE·09:23 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What access does an attacker need to trigger the denial of service?

No authentication or user interaction is required. A remote client only needs to establish a WebSocket connection, send a close frame, keep its TCP side open, and continue sending data.

2

Which installations are affected and what version resolves the issue?

Installations using websocket-driver before version 0.8.1 are affected. Updating to version 0.8.1 resolves the issue.

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