# CVE-2026-54464: websocket-driver: Resource limit bypass via message compression

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-07-15T22:03:59.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-33ph-fccm-39pj
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

### Impact

If this library is used in tandem with the `permessage-deflate` extension, a
WebSocket server or client can be made to accept messages that are larger than
the configured maximum message size. This is because this limit is checked
against the message frames' length headers, which give the size of the
compressed data, not the size after decompression. This can lead to applications
accepting larger messages than expected and exceeding their intended resource
usage.

### Patches

The issue has been patched in version 0.8.1, by checking the length of messages
after they are processed by incoming extensions. 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.

(As written by CVE List.)

## Affected

- faye websocket-driver-ruby: < 0.8.1
- websocket-driver (RubyGems): before 0.8.1

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-33ph-fccm-39pj> (web)
- <https://github.com/faye/websocket-driver-ruby/commit/fa8641724f10bf3273585f1dcf9041f540bbd036> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54464> (advisory)
- <https://github.com/faye/websocket-driver-ruby> (package)
- <https://github.com/faye/websocket-driver-ruby/releases/tag/0.8.1> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/websocket-driver/CVE-2026-54464.yml> (web)
- <https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-54464> (web)

## Sources

- CVE List: [CVE-2026-54464](https://www.cve.org/CVERecord?id=CVE-2026-54464), CVE Terms of Use, modified 2026-07-21
- GitHub Advisory Database: [GHSA-33ph-fccm-39pj](https://github.com/advisories/GHSA-33ph-fccm-39pj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54464](https://nvd.nist.gov/vuln/detail/CVE-2026-54464), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-54464 · Whole record: https://cve.day/CVE-2026-54464.json · Rebuilt by cve.day 2026-11-25T22:59:28.547Z
