Skip to main content
VulnerabilityPublished

CVE-2026-140011: permessage-deflate-ruby · Memory exhaustion triggered by message decompression

Affects mailcatcherSource GCVE Database

0
Compare
Authoritative record:CVE-2026-140011· High 7.5

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

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewmailcatcherpkg:brew/mailcatcherOther threatsAffected
  • >=0.9.0
Fixed in–
RubyGemspermessage_deflatepkg:gem/permessage_deflateOther threatsAffected
  • <0.2.0
Fixed in
  • 0.2.0
RubyGemswebsocket-extensionspkg:gem/websocket-extensionsOther threatsAffected
  • <0.2.0
Fixed in
  • 0.2.0
RubyGemswebsocket-driverpkg:gem/websocket-driverOther threatsAffected
  • 0.5.0 – 0.8.2
  • >=0.5.0 <0.9.0
22 affected builds
Fixed in
  • 0.9.0

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

Community reviews

Loading reviews…