{"id":"CVE-2026-54464","published":"2026-07-17T20:03:36Z","modified":"2026-07-21T02:13:20Z","title":"websocket-driver: Resource limit bypass via message compression","vendor":"faye","product":"websocket-driver-ruby","tier":"tail","description":{"text":"### Impact\n\nIf this library is used in tandem with the `permessage-deflate` extension, a\nWebSocket server or client can be made to accept messages that are larger than\nthe configured maximum message size. This is because this limit is checked\nagainst the message frames' length headers, which give the size of the\ncompressed data, not the size after decompression. This can lead to applications\naccepting larger messages than expected and exceeding their intended resource\nusage.\n\n### Patches\n\nThe issue has been patched in version 0.8.1, by checking the length of messages\nafter they are processed by incoming extensions. All users should upgrade to\nthis version.\n\n### Workarounds\n\nNo known workarounds exist.\n\n### Acknowledgements\n\nThis issue was discovered and reported by Pranjali Thakur, DepthFirst Security\nResearch Team.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00445,"percentile":0.30559,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-33ph-fccm-39pj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/faye/websocket-driver-ruby/commit/fa8641724f10bf3273585f1dcf9041f540bbd036","tags":["x_refsource_MISC"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":6.11},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"faye","affectedVersions":[{"vendor":"faye","product":"websocket-driver-ruby","versions":["< 0.8.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-21T02:13:09.230459Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"websocket-driver","vulnerableRanges":["<0.8.1"],"patched":["0.8.1"],"from":["GHSA-33ph-fccm-39pj"],"provenance":"source"}],"summary":{"text":"The websocket-driver-ruby library, used by the faye project, contains a flaw where the maximum message size limit is checked against compressed frame lengths rather than decompressed sizes when the permessage-deflate extension is enabled. An attacker who can send WebSocket traffic to a server or client using this extension can deliver messages larger than the configured maximum, causing the application to exceed its intended resource usage.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:10Z"},"euvd":{"id":"EUVD-2026-45309","exploited":false,"provenance":"source"}}