{"id":"CVE-2026-140011","aliases":["CVE-2026-140011"],"related":[],"kind":"vulnerability","state":"published","title":"permessage-deflate-ruby: Memory exhaustion triggered by message decompression","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T21:49:47.573Z","modified":"2026-11-30T22:17:31.023Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-409"],"affected":[{"ranges":[{"version":"< 0.2.0","status":"affected"}],"vendor":"faye","product":"permessage-deflate-ruby","source":"cvelist"},{"ranges":[{"version":"< 0.2.0","status":"affected"}],"vendor":"faye","product":"permessage_deflate","source":"cvelist"},{"ranges":[{"version":">= 0.5.0, < 0.9.0","status":"affected"}],"vendor":"faye","product":"websocket-driver","source":"cvelist"},{"ranges":[{"version":"< 0.2.0","status":"affected"}],"vendor":"faye","product":"websocket-extensions","source":"cvelist"}],"references":[{"url":"https://github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140011","url":"https://www.cve.org/CVERecord?id=CVE-2026-140011","licence":"CVE Terms of Use","modified":"2026-11-30T21:49:47.573Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140011","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140011","licence":"Public domain","modified":"2026-11-30T22:17:31.023Z"}],"updatedAt":"2026-11-30T22:32:36.105Z","epss":{"score":0.00644,"percentile":0.52197,"date":"2026-12-01T12:00:22.000Z"}}