Vulnerability
CVE-2026-54696
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.
89 advisories report this vulnerability, across 6 ecosystems.
Advisories
- 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-5498-w69g-9h2g
- CGA-58rx-8429-6p4r
- 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-7m5c-889v-37f7
- CGA-83fc-7mc3-jv92
- CGA-88qp-p6g7-64xj
- CGA-8gqw-cc8w-rrfv
- CGA-8mhp-6h9m-3fmc
- 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-gcg4-m5wh-mxvx
- 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-p8hc-2pp8-7jvq
- CGA-pp24-74qm-v4pw
- CGA-pqx7-x8cm-4q44
- CGA-pvq2-pj2j-6wr6
- CGA-pw4q-hh5q-jr24
- CGA-q296-56hw-vjcf
- 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-w87v-3m48-2wch
- CGA-whjh-pgxm-wqxg
- CGA-wj8x-pfc8-8xwf
- CGA-wjw4-q956-33qj
- CGA-xvc2-xpj6-7j73
- CGA-xwq6-m9x5-vx3h
-
DEBIAN-CVE-2026-54696
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…
-
GHSA-x2f5-4prf-w687
Ruby json: JSON generator heap buffer overflow when streaming to an IO
-
RHSA-2026:47932
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:48482
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHVEX-CVE-2026-54696
json: Ruby JSON: Denial of service via heap buffer overflow with oversized streamed objects
-
UBUNTU-CVE-2026-54696
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…