CVE-2026-54463: websocket-driver: Memory exhaustion via abuse of protocol length headers

Published Jul 15, 2026
·
Updated

Impact

The frame format in draft versions of the WebSocket protocol includes a length header that allows an arbitrarily large integer to be encoded as a sequence of bytes with the high bit set. By sending an indefinite sequence of bytes with values 0x80 or above, a server or client can make the other peer parse these bytes into an ever-growing integer. Since Ruby integers are arbitrary precision, this can be used to make a WebSocket connection consume an unbounded amount of memory and lead to the host process running out of memory.

Patches

The issue has been patched in version 0.8.1. All users should upgrade to this version.

Workarounds

No known workarounds exist.

Acknowledgements

This issue was discovered and reported by Pranjali Thakur, DepthFirst Security Research Team.

Other sources

websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.8.1, draft versions of the WebSocket protocol in websocket-driver include a length header that allows an arbitrarily large integer to be encoded as bytes with the high bit set, and a server or client can send an indefinite sequence of 0x80 or higher bytes that the peer parses into an ever-growing Ruby integer. This can make a WebSocket connection consume an unbounded amount of memory and lead to the host process running out of memory. This issue is fixed in version 0.8.1.

— MITRE

Affected Software

2 affected componentsFixes available
rubygems/websocket-driver<0.8.1
0.8.1
Faye Websocket-driver Ruby<0.8.1

Event History

Jul 15, 2026
Advisory Published
via GitHub·10:01 PM
Data Sourced
via GitHub·10:01 PM
DescriptionWeaknessAffected Software
Jul 17, 2026
CVE Published
via MITRE·08:05 PM
Data Sourced
via MITRE·08:05 PM
DescriptionWeakness
Data Sourced
via NVD·08:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-54463?

The severity of CVE-2026-54463 is medium with a CVSS score of 6.9.

2

What is the impact of CVE-2026-54463?

CVE-2026-54463 can lead to memory exhaustion due to abuse of protocol length headers in the WebSocket protocol.

3

How do I fix CVE-2026-54463?

To fix CVE-2026-54463, update the websocket-driver gem to version 0.8.1 or later.

4

Which software is affected by CVE-2026-54463?

The websocket-driver gem used in Ruby applications is affected by CVE-2026-54463.

5

When was CVE-2026-54463 published?

CVE-2026-54463 was published on July 15, 2026.

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