CVE-2026-140011
HIGH 7.5CVSS 3.1permessage-deflate-ruby: Memory exhaustion triggered by message decompression
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.
- Published
- 30 Nov 2026
- Last modified
- 4 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-409
- Also known as
- GHSA-5qm2-87xf-x3ff
- Sources
- NVDJSONCVE ListJSONOSV GHSA-5qm2-87xf-x3ffJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | 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 | |
| OSV | RubyGems | permessage_deflate | < 0.2.0 | 0.2.0 |
| OSV | RubyGems | websocket-extensions | < 0.2.0 | 0.2.0 |
| OSV | RubyGems | websocket-driver | >= 0.5.0, < 0.9.0 | 0.9.0 |
References
- https://github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13 · x_refsource_MISC, WEB
- https://github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff · x_refsource_CONFIRM, WEB
- https://github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070 · x_refsource_MISC, WEB
- https://github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82 · x_refsource_MISC, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-140011 · ADVISORY
- https://github.com/faye/permessage-deflate-ruby · PACKAGE
History
- 4 Dec 2026 17:09 UTC · NVD: status Received → Awaiting Analysis
- 1 Dec 2026 20:28 UTC · NVD: 1 reference added
- 1 Dec 2026 19:30 UTC · CVE List: updated (other details)
- 1 Dec 2026 19:06 UTC · OSV: first stored (published 1 Dec 2026)
- 30 Nov 2026 22:30 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 21:58 UTC · CVE List: first stored (published 30 Nov 2026)