CVE-2026-140011
### Summary 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. ### Details [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. This is possible even if the client is using the most conservative possible parameters for the extension in terms of minimising `zlib` memory usage. If a `:max_length` option has been set by [websocket-driver][wd-ruby] or [faye-websocket][fw-ruby], this is not passed on to the [permessage-deflate][pmd-ruby] extension. The extension fully decompresses the received message, and only after this has happened does [websocket-driver][wd-ruby] decide whether the message is too large. To mitigate this, [permessage-deflate][pmd-ruby] has been updated to accept the `:max_length` option and enforce this as it consumes the `zlib` inflate output stream. For this to take effect, [websocket-extensions][we-ruby] and [websocket-driver][wd-ruby] must also be upgraded in order to forward the `:max_length` option to the extension. Alternatively, the vulnerability can be mitigated by removing the [permessage-deflate][pmd-ruby] extension from the server configuration. [pmd]: https://tools.ietf.org/html/rfc7692 [pmd-ruby]: https://github.com/faye/permessage-deflate-ruby [we-ruby]: https://github.co
Properties
- Severity
- high
- Summary
- permessage-deflate-ruby: Memory exhaustion triggered by message decompression
- Nvd fetched at
- 2026-12-02T06:37:54.190518+00:00
- Epss score
- 0.00644
- Cvss severity
- HIGH
- Cvss score
- 7.5
- Retrieved at
- 2026-12-02T06:40:14+00:00
- Ghsa published
- 2026-12-01T18:18:31Z
- Source url
- https://github.com/advisories/GHSA-5qm2-87xf-x3ff
- Ghsa updated
- 2026-12-01T18:18:34Z
- Ghsa id
- GHSA-5qm2-87xf-x3ff
- Last source
- FIRST EPSS
- Score
- 7.5
- Cvss version
- 3.1
- Cve id
- CVE-2026-140011
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- First seen by Signal
- 2026-11-30T22:28:40+00:00
- Name
- CVE-2026-140011
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Related Entities (7)
AFFECTS (3)
VULNERABLE_TO (3)
HAS_WEAKNESS (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph