{"id":"CVE-2026-54465","aliases":["CVE-2026-54465","GHSA-8j3g-f24p-4mpw"],"related":[],"kind":"vulnerability","state":"published","title":"websocket-driver: Memory exhaustion in HTTP header parser","summary":"websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.8.1, when websocket-driver is used to implement a WebSocket server on top of a TCP server using WebSocket::Driver.server() or to complement a WebSocket client, a peer can make a single connection consume an unbounded amount of memory by sending an HTTP request or response with a never-ending list of headers. This can lead to the receiving 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, when websocket-driver is used to implement a WebSocket server on top of a TCP server using WebSocket::Driver.server() or to complement a WebSocket client, a peer can make a single connection consume an unbounded amount of memory by sending an HTTP request or response with a never-ending list of headers. This can lead to the receiving process running out of memory. This issue is fixed in version 0.8.1.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIf this library is used to implement a WebSocket server on top of a TCP server (rather than an HTTP server or framework) using the `WebSocket::Driver.server()` method, or, if it is used to complement a WebSocket client, then a peer can make a single connection consume an unbounded amount of memory by sending an HTTP request or response with a never-ending list of headers. This can lead to the receiving process running out of memory.\n\n### Patches\n\nThe issue has been patched in version 0.8.1, by limiting the total size of HTTP request/response lines and headers accepted by the parser to 32 kB. 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, cuando websocket-driver se utiliza para implementar un servidor WebSocket sobre un servidor TCP utilizando WebSocket::Driver.server() o para complementar un cliente WebSocket, un par puede hacer que una única conexión consuma una cantidad ilimitada de memoria enviando una solicitud o respuesta HTTP con una lista interminable de encabezados. Esto puede provocar que el proceso receptor se quede sin memoria. Este problema está solucionado en la versión 0.8.1.","source":"nvd"}],"published":"2026-07-15T22:05:39.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:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/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-8j3g-f24p-4mpw","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/faye/websocket-driver-ruby/commit/17b569f232896e71d458404ccf4854f80e987710","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54465","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-54465.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-54465","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-20T13:49:04.611Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54465","url":"https://www.cve.org/CVERecord?id=CVE-2026-54465","licence":"CVE Terms of Use","modified":"2026-07-20T13:49:17.424Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8j3g-f24p-4mpw","url":"https://github.com/advisories/GHSA-8j3g-f24p-4mpw","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:51.663Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54465","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54465","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:28.549Z","epss":{"score":0.00344,"percentile":0.29922,"date":"2026-12-01T12:00:22.000Z"}}