{"id":"CVE-2026-140011","summary":"permessage-deflate-ruby: Memory exhaustion triggered by message decompression","details":"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.","aliases":["GHSA-5qm2-87xf-x3ff"],"modified":"2026-11-30T23:00:12.197426784Z","published":"2026-11-30T21:49:47.573Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-409"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140011.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140011.json"},{"type":"FIX","url":"https://github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13"},{"type":"ADVISORY","url":"https://github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff"},{"type":"FIX","url":"https://github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070"},{"type":"FIX","url":"https://github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140011"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/faye/permessage-deflate-ruby","events":[{"introduced":"0"},{"fixed":"f4fd329a889e371e95e5331e5f960ce381c1d06d"},{"fixed":"83539816ae34c6d9724e94f6390ea9dc06dc7b13"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"0.2.0"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"83539816ae34c6d9724e94f6390ea9dc06dc7b13"}]}]}}],"versions":["0.1.4","0.1.3","0.1.2","0.1.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140011.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/faye/websocket-driver-ruby","events":[{"introduced":"b99ab25583bc0301a3c2ce2346a3d7dbb3656389"},{"fixed":"2150ea71f86a9c757cce26ecf214fe42a7383fcd"},{"fixed":"31188c15cfbbb684f0dbd65192d95da14a6e9070"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0.5.0"},{"fixed":"0.9.0"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"31188c15cfbbb684f0dbd65192d95da14a6e9070"}]}]}}],"versions":["0.8.2","0.8.1","0.8.0","0.7.7","0.7.6","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0","0.6.5","0.6.4","0.6.3","0.6.2","0.6.1","0.6.0","0.5.4","0.5.3","0.5.2","0.5.1","0.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140011.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}