CVE-2026-54465: websocket-driver · Memory exhaustion in HTTP header parser
Affects websocket-driverSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 0.8.1 when convenient.
Data as of 1 Dec 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.8.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:LExploitation evidence
Disclosed: evidence found.
CVE published 15 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade websocket-driver to 0.8.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemswebsocket-driver | Affected
| Fixed in
|
Ubuntu 16.04 LTSruby-websocket-driverpkg:deb/ubuntu/ruby-websocket-driver?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSruby-websocket-driverpkg:deb/ubuntu/ruby-websocket-driver?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSruby-websocket-driverpkg:deb/ubuntu/ruby-websocket-driver?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSruby-websocket-driverpkg:deb/ubuntu/ruby-websocket-driver?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSruby-websocket-driverpkg:deb/ubuntu/ruby-websocket-driver?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade websocket-driver to version 0.8.1 or later, where this vulnerability is fixed. No other mitigation is indicated or required.
Description
### Impact If 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. ### Patches The 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. ### Workarounds No known workarounds exist. ### Acknowledgements This issue was discovered and reported by Pranjali Thakur, DepthFirst Security Research Team.
References
- github.com/faye/websocket-driver-ruby/security/advisories/GHSA-8j3g-f24p-4mpw (opens in a new tab)
- github.com/faye/websocket-driver-ruby/commit/17b569f232896e71d458404ccf4854f80e987710 (opens in a new tab)
- ubuntu.com/security/CVE-2026-54465 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-54465 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-54465 (opens in a new tab)
- github.com/faye/websocket-driver-ruby (opens in a new tab)
- github.com/faye/websocket-driver-ruby/releases/tag/0.8.1 (opens in a new tab)
- github.com/rubysec/ruby-advisory-db/blob/master/gems/websocket-driver/CVE-2026-54465.yml (opens in a new tab)
- cve.org/CVERecord/SearchResults?query=CVE-2026-54465 (opens in a new tab)