CVE-2026-140011permessage-deflate-ruby: Memory exhaustion triggered by message decompression
- 7.5HighCVSS base score
- 1.0%Exploitation in 30 daysEPSS · top 35% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
Timeline
ID reserved
By GitHub_M
Published
- 1 day later
· 1 day later
Public exploit appeared
A proof of concept or exploit was published
- 1 day later
· 1 day later
EPSS rose above 1%
0.64% → 1.0%
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Received | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.0% · top 35% of all CVEs (2 Dec 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
faye · permessage-deflate-ruby
- affected < 0.2.0
- affected < 0.2.0
- affected >= 0.5.0, < 0.9.0
- affected < 0.2.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemspermessage_deflateGHSA-5qm2-87xf-x3ff (opens in a new tab)
- RubyGemswebsocket-driverGHSA-5qm2-87xf-x3ff (opens in a new tab)
- RubyGemswebsocket-extensionsGHSA-5qm2-87xf-x3ff (opens in a new tab)
References
References4
- https://github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13 (opens in a new tab)x_refsource_MISC
- https://github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070 (opens in a new tab)x_refsource_MISC
- https://github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-139737 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5qm2-87xf-x3ff (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-140011)Record last updated .