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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-11-30 · Modified: 2026-12-01
- Aliases: GHSA-5qm2-87xf-x3ff, CGA-c2p6-3c78-w35x, CGA-hvgh-q5q6-fxvr, CGA-rmg2-6xrr-pfc4, CGA-w7h9-p4p6-58qj, CGA-59r6-2rwg-m9r9, CGA-cchc-66vj-h3rm, CGA-75q4-9272-q446, CGA-qhp6-pp94-7wgh, CGA-23hv-x3h2-8477, CGA-2r2q-9q4x-cfx3, CGA-36r5-2cgf-92w3, CGA-3922-7mwm-59vg, CGA-43c6-q2q2-rv35, CGA-4h8q-j5mv-2hp4, CGA-4hjq-42hp-4797, CGA-54vw-pwrv-qx95, CGA-558r-6j4h-6hmg, CGA-5vxg-vgqv-q22f, CGA-6m4h-58cp-pqgp, CGA-7g85-p88p-5cmv, CGA-7qgx-2mfp-8q22, CGA-8h77-2mw6-58rf, CGA-8j35-3v5q-g75j, CGA-8j6j-mj6w-jfgc, CGA-995c-vq4f-h6jv, CGA-9fgf-5rr2-vh9p, CGA-9hh5-p48j-pwc9, CGA-9x96-f2pc-62f8, CGA-c479-h9fx-7m27, CGA-c7j5-gp8h-39m5, CGA-f7x8-m2r3-jj58, CGA-fpx9-v94j-cf77, CGA-fwg2-vxp8-45gr, CGA-gh9p-w9hf-5hr6, CGA-gvrq-xw7m-4h23, CGA-hg4v-q475-69j4, CGA-hhc9-p5px-cxpm, CGA-j87q-qpvg-5p3w, CGA-j9j2-3fmf-q84h, CGA-jc7c-x942-6f83, CGA-jgcj-3hj6-qpjm, CGA-jhf2-228q-j8gp, CGA-jwjf-f578-5vmp, CGA-m8c4-c986-3j9v, CGA-m9ph-p3xj-p2mr, CGA-p2hw-j4wp-462p, CGA-p4p6-787j-7m7g, CGA-p64g-6chj-v6jm, CGA-p845-47h2-2xfr, CGA-pf5x-q8jf-pr75, CGA-pwmg-3fcx-gcvh, CGA-qj6j-2x38-4wxj, CGA-qr58-x9f5-r79f, CGA-rw75-pj5j-4f35, CGA-v6c4-vj8x-3w44, CGA-v899-p438-mj6h, CGA-v9gc-q3vc-xjc2, CGA-v9jf-hf27-v58r, CGA-vj52-9cx7-cw4m, CGA-vqc7-vj2g-6r66, CGA-vwr4-6gpg-8vjp, CGA-w849-8gjp-3rx7, CGA-wmxq-5h46-hh4h, CGA-wpq9-q29h-jqj4, CGA-x587-7ccp-x342, CGA-x754-wh9g-46rm, CGA-x85f-qgc4-9fx3, CGA-xcxf-f3mm-ggh9, CGA-xfc6-c422-gfvv, CGA-2hfh-qwq5-2p8p, CGA-2m2m-6qcm-rff6, CGA-38j9-rrf3-5mx7, CGA-3924-56mq-j96p, CGA-3hhg-4wjc-c4rx, CGA-7xvr-rj44-h8q8, CGA-ccc8-4j7w-59fq, CGA-xpvh-j3f7-gv3j, DEBIAN-CVE-2026-140011, CGA-grjw-4q67-2h3g
- Record: https://cvemate.com/vulnerability/CVE-2026-140011 · JSON: https://cvemate.com/vulnerability/CVE-2026-140011/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.027%, percentile 64.742%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 35)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.2 (Chainguard): All versions (No fix recorded)
- chainguard pghero (Chainguard): All versions (No fix recorded) \| \< 3.8.0-r17
- chainguard pghero-fips (Chainguard): All versions (No fix recorded) \| \< 3.8.0-r16
- chainguard ruby3.3-rails-7.2 (Chainguard): All versions (No fix recorded) \| \< 7.2.4-r4
- chainguard ruby3.3-rails-8.0 (Chainguard): All versions (No fix recorded) \| \< 8.0.5.2-r2
- chainguard ruby3.3-rails-8.1 (Chainguard): \< 8.1.4.1-r1
- chainguard ruby3.4-rails-7.2 (Chainguard): All versions (No fix recorded) \| \< 7.2.4-r3

## References

- <https://github.com/faye/permessage-deflate-ruby/security/advisories/GHSA-5qm2-87xf-x3ff>
- <https://github.com/faye/permessage-deflate-ruby/commit/83539816ae34c6d9724e94f6390ea9dc06dc7b13>
- <https://github.com/faye/websocket-driver-ruby/commit/31188c15cfbbb684f0dbd65192d95da14a6e9070>
- <https://github.com/faye/websocket-extensions-ruby/commit/634bb92a77388e4fc0c73a9e541d36c473fb5d82>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140011>
- <https://github.com/faye/permessage-deflate-ruby>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140011.json>
- <https://security-tracker.debian.org/tracker/CVE-2026-140011>

---

Data as of 2026-12-05T05:10:05.238Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
