Vulnerability
CVE-2026-54899
Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. Prior to version 3.17.2, disabling symbol_keys on a reused Oj::Parser instance triggers a heap use-after-free. When symbol_keys is toggled from true to false, opt_symbol_keys_set frees the internal key cache (cache_free) but does not clear the pointer. The next parse call reads from the freed cache via cache_intern, producing a use-after-free. This issue has been fixed in version 3.17.2.
65 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-262g-6jm4-4h2m
- CGA-2g36-qcx7-68gf
- CGA-2g9j-wrvj-hqr4
- CGA-2jg8-6583-68xh
- CGA-2phf-c9m7-hcc6
- CGA-3f5j-8jvg-c8qm
- CGA-3w7w-4xx8-xfpq
- CGA-4gvx-vh5p-g3jc
- CGA-4w3w-g94w-wv2c
- CGA-55pj-p5f7-cv24
- CGA-5c23-gfcm-wr6r
- CGA-5h96-c9vj-9pc2
- CGA-6564-w48x-28gw
- CGA-6m84-72fc-cm4g
- CGA-6qfm-672p-fc64
- CGA-6w39-8w8m-5xv3
- CGA-72c3-qpqh-frgf
- CGA-8cwf-mcw6-3v9w
- CGA-96f7-8qv5-4rf8
- CGA-9fgq-rvxc-727v
- CGA-c48f-6m9c-g5q3
- CGA-c6jf-58q9-f645
- CGA-ch2j-wh3w-wfch
- CGA-cwp4-pr9r-r26q
- CGA-cx6r-4m87-qxq4
- CGA-f45j-qpwq-vm52
- CGA-f5c7-5527-px3x
- CGA-f8cg-855h-7pmr
- CGA-ff53-jrj7-fq32
- CGA-ff5h-jv3h-j9cv
- CGA-fg9g-wf3f-2hf5
- CGA-fw4j-53wx-7vf7
- CGA-g6h6-9jm7-gq6h
- CGA-ghrm-xpc9-96qv
- CGA-gjfh-vr4r-5j45
- CGA-hghj-gcqq-8mp8
- CGA-hr55-9rmp-8478
- CGA-j932-34w8-v93q
- CGA-jh9p-42w8-3qmj
- CGA-jhm6-fpr4-r383
- CGA-m45f-xg59-mjq6
- CGA-p4m5-q72j-999q
- CGA-p75j-qxj7-cw4c
- CGA-pc26-hqm7-5hw5
- CGA-ppf3-qwcj-hm9j
- CGA-q2qj-939j-4x3j
- CGA-qc76-xv33-cc7f
- CGA-qchf-2ch9-6cf7
- CGA-qcjg-qw55-6c9f
- CGA-qj83-3crm-rhgg
- CGA-qm92-x4qr-8f7x
- CGA-rpqq-vprc-m56f
- CGA-rwg4-r5h7-qhrc
- CGA-v6j8-xxwr-h76x
- CGA-vcqj-hjph-5w7r
- CGA-vh67-3cmf-xwrp
- CGA-w98m-vhqg-wg7f
- CGA-ww6r-wx59-h534
- CGA-xpfx-xhj2-fc4w
- CGA-xwpf-xp8m-j3fc
-
DEBIAN-CVE-2026-54899
Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. Prior to version 3.17.2, disabling symbol_keys on a reused Oj::Parser instance triggers a heap use-after-free. When symbol_keys is…
-
DLA-4803-1
ruby-oj - security update
-
DSA-6521-1
ruby-oj - security update
-
GHSA-2cw7-v8ff-p88r
Oj: Use-After-Free in Oj::Parser Symbol Key Cache Toggle
-
UBUNTU-CVE-2026-54899
Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. Prior to version 3.17.2, disabling symbol_keys on a reused Oj::Parser instance triggers a heap use-after-free. When symbol_keys is…