{"id":"CVE-2026-54464","aliases":["CVE-2026-54464","GHSA-33ph-fccm-39pj"],"related":[],"kind":"vulnerability","state":"published","title":"websocket-driver: Resource limit bypass via message compression","summary":"### 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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"### Impacto\n\nSi esta biblioteca se utiliza junto con la extensión ’permessage-deflate’, un servidor o cliente WebSocket puede ser forzado a aceptar mensajes que son más grandes que el tamaño máximo de mensaje configurado. Esto se debe a que este límite se verifica contra los encabezados de longitud de los marcos de mensaje, que indican el tamaño de los datos comprimidos, no el tamaño después de la descompresión. Esto puede llevar a que las aplicaciones acepten mensajes más grandes de lo esperado y excedan su uso de recursos previsto.\n\n### Parches\n\nEl problema ha sido parcheado en la versión 0.8.1, al verificar la longitud de los mensajes después de que son procesados por las extensiones entrantes. Todos los usuarios deberían actualizar a esta versión.\n\n### Soluciones provisionales\n\nNo existen soluciones provisionales conocidas.\n\n### Agradecimientos\n\nEste problema fue descubierto y reportado por Pranjali Thakur, del Equipo de Investigación de Seguridad de DepthFirst.","source":"nvd"}],"published":"2026-07-15T22:03:59.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"}],"cwes":["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"}],"references":[{"url":"https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-33ph-fccm-39pj","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/faye/websocket-driver-ruby/commit/fa8641724f10bf3273585f1dcf9041f540bbd036","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54464","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-54464.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-54464","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-21T02:13:09.230Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54464","url":"https://www.cve.org/CVERecord?id=CVE-2026-54464","licence":"CVE Terms of Use","modified":"2026-07-21T02:13:20.815Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-33ph-fccm-39pj","url":"https://github.com/advisories/GHSA-33ph-fccm-39pj","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:51.444Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54464","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54464","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:28.547Z","epss":{"score":0.00324,"percentile":0.27493,"date":"2026-12-01T12:00:22.000Z"}}