CVE-2026-140011
permessage-deflate-ruby: Memory exhaustion triggered by message decompression
Check your servers for CVE-2026-140011
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-140011 affects permessage-deflate-ruby, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.64%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 52.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Dec 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| permessage-deflate-ruby |
affected < 0.2.0
|
| permessage_deflate |
affected < 0.2.0
|
| websocket-driver |
affected >= 0.5.0, < 0.9.0
|
| websocket-extensions |
affected < 0.2.0
|
Is my server affected?
Find the installed version of permessage-deflate-ruby and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i permessage-deflate-ruby
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-140011 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-140011RHEL, Rocky, Alma, Fedora
rpm -q permessage-deflate-ruby
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-140011Alpine
apk list --installed | grep -i permessage-deflate-rubyWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-140011
trivy image --scanners vuln IMAGE | grep CVE-2026-140011
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Exploits and proof of concept
- https://github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff github.com · exploit
Other references
- https://github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13 github.com
- https://github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070 github.com
- https://github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82 github.com
Source: the record CVE-2026-140011 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse