CVE-2026-140011

NameCVE-2026-140011
Descriptionpermessage-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-websocket-driver (PTS)bookworm, trixie0.6.3-3vulnerable
forky, sid0.9.0-1fixed
ruby-websocket-extensions (PTS)bookworm, trixie0.1.5-2vulnerable
forky, sid0.2.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-websocket-driversource(unstable)0.9.0-1
ruby-websocket-extensionssource(unstable)0.2.0-1

Notes

https://github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff
https://github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13
https://github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070
https://github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82

Search for package or bug name: Reporting problems