# CVE-2026-54696: Ruby JSON: JSON generator heap buffer overflow when streaming to an IO

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-30 · Modified: 2026-07-01
- Aliases: RHSA-2026:47932, RHSA-2026:48482, UBUNTU-CVE-2026-54696, DEBIAN-CVE-2026-54696, CGA-5498-w69g-9h2g, CGA-58rx-8429-6p4r, CGA-7m5c-889v-37f7, CGA-8mhp-6h9m-3fmc, CGA-gcg4-m5wh-mxvx, CGA-p8hc-2pp8-7jvq, CGA-pw4q-hh5q-jr24, CGA-q296-56hw-vjcf, CGA-w87v-3m48-2wch, CGA-whjh-pgxm-wqxg, CGA-xwq6-m9x5-vx3h, CGA-29wv-vx6p-5vxw, CGA-2h39-hfp7-pc3p, CGA-2x3x-v3fh-ghf2, CGA-3539-hp86-8p3g, CGA-36x4-mx2v-5366, CGA-3j2f-6jj9-8p7p, CGA-3m7q-crrw-8c54, CGA-3m8w-gp7g-rf6c, CGA-3r8p-5vg5-723x, CGA-3rw2-79v9-hxj8, CGA-43jq-7f33-qhmg, CGA-44jw-67gh-m2rc, CGA-47f7-55q2-9j79, CGA-4883-4q3x-c59c, CGA-493p-2q24-jm43, CGA-4949-wgqj-87xc, CGA-4qv5-wfw9-gw4x, CGA-4xmj-8fxm-c3h4, CGA-5g5q-rhp2-38wc, CGA-5g92-p54q-w5mv, CGA-5jf7-6h7g-ghqj, CGA-5m33-xq2w-7g96, CGA-5q47-9jfv-7pm4, CGA-5xj2-7284-hqw6, CGA-62x7-qqxh-fjgc, CGA-6c3v-cpvj-qr6q, CGA-6f7x-hg7p-4gh6, CGA-6hrg-rc36-6qxg, CGA-6pf2-gpv4-9q63, CGA-7fq2-3vh2-h43w, CGA-83fc-7mc3-jv92, CGA-88qp-p6g7-64xj, CGA-8gqw-cc8w-rrfv, CGA-8v9c-22hg-4hrp, CGA-97h5-m574-cfv6, CGA-999r-fg45-53qg, CGA-9c76-m7pg-g2rc, CGA-cccw-g3mp-644m, CGA-ccjx-x758-829w, CGA-ch63-qwvm-vjxw, CGA-cp7p-r2vx-hr5g, CGA-g64m-j6rq-86q3, CGA-g64v-58pf-q434, CGA-g9mj-grv9-cxxw, CGA-hpmr-x8r9-h9g8, CGA-hxmv-qxv7-hgmh, CGA-jf43-hg6c-x9wh, CGA-jj95-jfrv-xp9j, CGA-jp2g-mwh2-h59v, CGA-jw6g-vjhr-mcjw, CGA-m99f-m82q-mgrj, CGA-pp24-74qm-v4pw, CGA-pqx7-x8cm-4q44, CGA-pvq2-pj2j-6wr6, GHSA-x2f5-4prf-w687, CGA-q3mp-4f4v-9mq6, CGA-qcch-g374-c3pp, CGA-qh75-58rc-p544, CGA-qhrg-6rw2-3qcp, CGA-qr6w-pw29-982p, CGA-qwc7-3wjr-fpxx, CGA-qx3w-mw44-6m8q, CGA-r24c-62gr-fjvw, CGA-r666-9vmj-wwcp, CGA-r6xv-p3mq-rjfw, CGA-rjqh-7mpp-wx52, CGA-rwxp-xj7q-4m23, CGA-rx8v-27vh-x98j, CGA-v247-vj3f-8jgr, CGA-w65c-6v9p-gqf5, CGA-wj8x-pfc8-8xwf, CGA-wjw4-q956-33qj, CGA-xvc2-xpj6-7j73
- Record: https://cvemate.com/vulnerability/CVE-2026-54696 · JSON: https://cvemate.com/vulnerability/CVE-2026-54696/json

## Description

```text
Ruby JSON is a JSON implementation for Ruby. Versions 2.9.0 through 2.19.8 are vulnerable to heap buffer overflow when the JSON generator is provided with an oversized streamed object. When streaming to an IO JSON.dump(obj, io) and JSON::State#generate(obj, io) can write past the internal JSON generator buffer when a streamed object contains an
attacker-controlled string near 16 KB. Exploitation would result in a reliable process crash/denial of service. This issue has been fixed in version 2.19.9.
```

## Signals

- CVSS: 3.7 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.412%, percentile 37.489%, 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 89)

- chainguard cinc-auditor (Chainguard): \< 7.1.7-r7
- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): \< 19.2.7-r4
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): \< 19.2.7-r4
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (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-19.3 (Chainguard): \< 19.3.1-r6
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (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.6 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/ruby/json/security/advisories/GHSA-x2f5-4prf-w687>
- <https://github.com/ruby/json/releases/tag/v2.19.9>
- <https://access.redhat.com/errata/RHSA-2026:47932>
- <https://access.redhat.com/security/cve/CVE-2026-54696>
- <https://access.redhat.com/security/updates/classification/>
- <https://images.redhat.com/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_47932.json>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2495409>
- <https://www.cve.org/CVERecord?id=CVE-2026-54696>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54696>
- <https://access.redhat.com/errata/RHSA-2026:48482>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_48482.json>
- <https://ubuntu.com/security/CVE-2026-54696>
- <https://security-tracker.debian.org/tracker/CVE-2026-54696>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54696.json>
- <https://github.com/ruby/json/commit/996bac686d64e4e3aaeae03b14a7f9ee9695ebdb>
- <https://github.com/ruby/json>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2026-54696.yml>

---

Data as of 2026-12-05T04:23:49.292Z. 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
