7.5high
permessage-deflate-ruby: Memory exhaustion triggered by message decompression
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.64% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
permessage-deflate-ruby provides the per-message DEFLATE compression extension for WebSocket connections. Prior to permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0, an unauthenticated remote WebSocket client can send a highly compressible message that expands to a much larger size because websocket-driver's :max_length option is checked only after permessage-deflate fully inflates the message. The extension can therefore allocate memory far beyond the wire size and configured message limit, causing memory exhaustion; the coordinated fix enforces :max_length while consuming zlib output and forwards the option through websocket-extensions and websocket-driver. This issue is fixed in permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| faye permessage-deflate-ruby | < 0.2.0 | CVE List |
| faye permessage_deflate | < 0.2.0 | CVE List |
| faye websocket-driver | >= 0.5.0, < 0.9.0 | CVE List |
| faye websocket-extensions | < 0.2.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-140011 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-140011 changed 2026-11-30 | Public domain |