CVE-2026-140011

permessage-deflate-ruby: Memory exhaustion triggered by message decompression

Published Nov 30, 2026 CVSS 3.1 · 7.5 High EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title permessage-deflate-ruby: Memory exhaustion triggered by message decompression
Weaknesses CWE-409
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 30, 2026, 9:49 PM
Reserved
Nov 30, 2026, 5:42 PM
Status
Received
Published
Nov 30, 2026, 10:17 PM
Modified
Nov 30, 2026, 10:17 PM