CVE-2026-54899: Ruby oj · Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem
Affects ruby-ojSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 3.17.2 when convenient.
Data as of 30 Nov 2026, 18:37 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.17.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade oj to 3.17.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 14.04 LTSruby-ojpkg:deb/ubuntu/ruby-oj?arch=source&distro=trustyOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSruby-ojpkg:deb/ubuntu/ruby-oj?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSruby-ojpkg:deb/ubuntu/ruby-oj?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSruby-ojpkg:deb/ubuntu/ruby-oj?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSruby-ojpkg:deb/ubuntu/ruby-oj?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSruby-ojpkg:deb/ubuntu/ruby-oj?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Oj to version 3.17.2 or later, where this use-after-free vulnerability is fixed. No other mitigations are indicated.
Description
Oj (Optimized JSON) Ruby gem versions prior to 3.17.2 contain a heap use-after-free vulnerability. This flaw occurs when disabling symbol_keys on a reused Oj::Parser instance, causing the internal key cache pointer to reference freed memory. The vulnerability is fixed in version 3.17.2.