Vulnerability
CVE-2026-54901
Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, Oj::Parser in usual mode does not mark array_class and hash_class references during garbage collection, leading to Use-After-Free. If GC runs after the class is assigned but before a parse, the class object is reclaimed, leaving the parser holding a dangling VALUE. The subsequent parse call dereferences the freed object, producing a segfault. This issue has been fixed in version 3.17.2.
65 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-23m3-49m6-qxcv
- CGA-2jhp-575w-c5qh
- CGA-2p3m-m4gr-3476
- CGA-2w7j-x247-wm6g
- CGA-3h7c-h7qx-9rq3
- CGA-3hc8-36cg-r2vf
- CGA-3p42-3jvr-jwfc
- CGA-46pp-7955-jq7f
- CGA-49mp-rh45-32g5
- CGA-4x2w-m94q-8hqr
- CGA-54h4-pmx6-3pxj
- CGA-58rx-c4qm-6cvw
- CGA-5j99-7jcx-737x
- CGA-5r9h-7m79-rfjm
- CGA-5rgj-3j2q-8696
- CGA-5w9r-rq4v-6q9p
- CGA-6gc2-2pf2-c265
- CGA-6j5m-q7jx-57cw
- CGA-6vj5-7vfr-8p8p
- CGA-7p6r-x7fj-wc7r
- CGA-7qxf-pqqg-q2hc
- CGA-7wj9-c9h2-hqqc
- CGA-8fwj-xqff-26vr
- CGA-8wjm-qcx8-x3rw
- CGA-9cfr-c8h5-cgpj
- CGA-9mmw-9mcv-96xv
- CGA-cf4v-xvm5-c8cf
- CGA-cmw7-xq2j-95f8
- CGA-cq3j-fg3v-wjj5
- CGA-cwv8-qwx4-x9h3
- CGA-f4pc-vrj3-2m4g
- CGA-fmq2-3rmq-663m
- CGA-fpc9-vgmm-6hf2
- CGA-fpcv-pq49-4mm4
- CGA-fqh2-225q-m9m7
- CGA-fw8w-rqxw-x653
- CGA-g272-52v4-8p83
- CGA-g5v3-fr5g-h8rh
- CGA-g7jg-jrpg-5j2w
- CGA-gv7v-r83q-3hv8
- CGA-gxcw-mffm-9q6v
- CGA-hfg8-7w98-r87q
- CGA-hq85-2r45-4mhm
- CGA-j37q-qgr9-r528
- CGA-j5w4-39qj-f7j8
- CGA-j7xc-329c-79vw
- CGA-jx7p-pmqh-jvfp
- CGA-mf22-gq9r-vmqr
- CGA-mh77-v3v8-jxch
- CGA-mpf9-9xgq-whxf
- CGA-mwg3-jfcr-mmwr
- CGA-q443-rx5w-vfxh
- CGA-qcqw-7m3j-rw73
- CGA-rcpp-v79v-r6gw
- CGA-rqq5-wjfm-p3f3
- CGA-v2pf-c56p-cp23
- CGA-v3hf-qxvf-6p33
- CGA-w877-7583-7wxg
- CGA-wcvc-2gq8-vv95
- CGA-x964-5mc3-6c65
-
DEBIAN-CVE-2026-54901
Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, Oj::Parser in usual mode does not mark array_class and hash_class references during garbage collection,…
-
DLA-4803-1
ruby-oj - security update
-
DSA-6521-1
ruby-oj - security update
-
GHSA-vwm4-62gf-x745
Oj: Use-After-Free in Oj::Parser array_class/hash_class GC Marking
-
UBUNTU-CVE-2026-54901
Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, Oj::Parser in usual mode does not mark array_class and hash_class references during garbage collection,…