{"id":"CVE-2026-54463","aliases":["CVE-2026-54463","GHSA-ghhp-3qvg-889p"],"related":[],"kind":"vulnerability","state":"published","title":"websocket-driver: Memory exhaustion via abuse of protocol length headers","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe 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.\n\n### Patches\n\nThe issue has been patched in version 0.8.1. All users should upgrade to this version.\n\n### Workarounds\n\nNo known workarounds exist.\n\n### Acknowledgements\n\nThis issue was discovered and reported by Pranjali Thakur, DepthFirst Security Research Team.","format":"markdown","source":"ghsa"},{"lang":"es","text":"websocket-driver es un gestor del protocolo WebSocket con E/S conectable. Antes de la versión 0.8.1, las versiones preliminares del protocolo WebSocket en websocket-driver incluyen una cabecera de longitud que permite que un entero arbitrariamente grande sea codificado como bytes con el bit más significativo activado, y un servidor o cliente puede enviar una secuencia indefinida de bytes 0x80 o superiores que el par analiza en un entero Ruby en constante crecimiento. Esto puede hacer que una conexión WebSocket consuma una cantidad ilimitada de memoria y provocar que el proceso anfitrión se quede sin memoria. Este problema está solucionado en la versión 0.8.1.","source":"nvd"}],"published":"2026-07-15T22:01:52.000Z","modified":"2026-10-24T20:10:00.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"< 0.8.1","status":"affected"}],"vendor":"faye","product":"websocket-driver-ruby","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.8.1"}],"ecosystem":"RubyGems","package":"websocket-driver","purl":"pkg:gem/websocket-driver","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.8.1"}],"vendor":"faye","product":"websocket-driver","cpe":"cpe:2.3:a:faye:websocket-driver:*:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-ghhp-3qvg-889p","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/faye/websocket-driver-ruby/commit/d0141f041f6e3677a951255d547a313e732ccbe0","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54463","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/faye/websocket-driver-ruby","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/faye/websocket-driver-ruby/releases/tag/0.8.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/websocket-driver/CVE-2026-54463.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-54463","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-20T16:55:58.894Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54463","url":"https://www.cve.org/CVERecord?id=CVE-2026-54463","licence":"CVE Terms of Use","modified":"2026-07-20T16:58:33.914Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-ghhp-3qvg-889p","url":"https://github.com/advisories/GHSA-ghhp-3qvg-889p","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:52.264Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54463","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54463","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:28.547Z","epss":{"score":0.00344,"percentile":0.29921,"date":"2026-12-01T12:00:22.000Z"}}