RubyGems
CVE-2026-140011
permessage-deflate-ruby: Memory exhaustion triggered by message decompression
- Severity
- High 7.5
- Published
- 1 Dec 2026
- Last changed
- 1 Dec 2026
- Added to UpHeron
- 1 Dec 2026
- Fixed in
- 0.2.0, 0.9.0
- Exploit chance
- 0.6% in the next 30 daysHigher than 52% of CVEs. EPSS by FIRST, 1 Dec 2026
- Weakness
- Decompression bomb (CWE-409)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-5qm2-87xf-x3ff
- Sources
- OSV.dev and GitHub
Description
An unauthenticated remote client can cause a server to allocate memory with a much larger size than the message sent over the wire, potentially bypassing configured message size limits. This may cause the server to run out of memory and crash.
[permessage-deflate][pmd-ruby] is used to add support for [compression extensions][pmd] to [websocket-driver][wd-ruby], [faye-websocket][fw-ruby] and other libraries based on these packages. A client with this extension activated can compress a very large message consisting of one byte repeated many times to around 1/1,000 of its original size before sending it to the server. Upon receiving such a message, the server will decompress it, and thereby allocate a buffer 1,000 times larger than the received WebSocket frame. The client may abuse this to cause the server to allocate such much that it runs out of memory and crashes.
Affected software
| Software | Affected versions |
|---|---|
permessage_deflateRubyGems · osv:RubyGems:permessage_deflate |
|
websocket-driverRubyGems · osv:RubyGems:websocket-driver |
|
websocket-extensionsRubyGems · osv:RubyGems:websocket-extensions |
|
About permessage_deflate
- Total downloads (RubyGems)
- 1,642,759RubyGems, 1 Dec 2026
This is the only vulnerability in permessage_deflate in our list.
About websocket-driver
- Total downloads (RubyGems)
- 676,486,777RubyGems, 1 Dec 2026
Vulnerabilities in websocket-driver
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 1
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-140015websocket-driver: Memory exhaustion triggered by buffering of data received after socket is closedHigh 7.5 1 Dec 2026
- CVE-2026-140016websocket-driver: Message corruption and denial of service triggered by crafted client messageCritical 9.1 1 Dec 2026
About websocket-extensions
- Total downloads (RubyGems)
- 623,270,279RubyGems, 1 Dec 2026
This is the only vulnerability in websocket-extensions in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140011
- GitHub Advisory Database https://github.com/advisories/GHSA-5qm2-87xf-x3ff