CVE-2026-140011: permessage-deflate-ruby · Memory exhaustion triggered by message decompression
Affects mailcatcherSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 0.2.0 : patch mailcatcher soon.
Data as of 2 Dec 2026, 21:49 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 0.2.0, 0.9.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade permessage_deflate and websocket-extensions to 0.2.0; websocket-driver to 0.9.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewmailcatcherpkg:brew/mailcatcherOther threats | Affected
| Fixed in– |
RubyGemspermessage_deflatepkg:gem/permessage_deflateOther threats | Affected
| Fixed in
|
RubyGemswebsocket-extensionspkg:gem/websocket-extensionsOther threats | Affected
| Fixed in
|
RubyGemswebsocket-driverpkg:gem/websocket-driverOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade permessage-deflate-ruby to a version that accepts and enforces the max_length option during decompression. Also upgrade websocket-extensions and websocket-driver to versions that forward the max_length option to the extension. Alternatively, remove the permessage-deflate extension from the server configuration to prevent this vulnerability. After patching, the server will reject oversized messages during decompression, preventing memory exhaustion.
Description
CVE-2026-140011 is a vulnerability in the permessage-deflate-ruby extension used by websocket-driver and faye-websocket libraries. An unauthenticated remote client can send a highly compressed message that decompresses to a size much larger than the original, causing the server to allocate excessive memory and potentially crash. This occurs because the max_length limit is enforced only after decompression, allowing memory exhaustion during decompression. The vulnerability can be mitigated by upgrading permessage-deflate-ruby and related libraries to versions that enforce max_length during decompression or by disabling the permessage-deflate extension.
References
- github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-140011 (opens in a new tab)
- github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13 (opens in a new tab)
- github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070 (opens in a new tab)
- github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82 (opens in a new tab)
- github.com/faye/permessage-deflate-ruby (opens in a new tab)