Is oj 1.2 vulnerable?

RubyGems · 14 releases from 1.2.0 to 1.2.13 · latest oj is 3.17.8 · checked 18 Nov 2026

Yes: 11 known advisories

Yes. oj 1.2.13, the last 1.2 release, is affected by 11 known security advisories (10 high, 1 medium), including CVE-2026-54903, CVE-2026-54902, CVE-2026-54901. Upgrade to 3.17.3 or later to fix all of them.

Upgrade with:bundle update --conservative oj # Gemfile: '>= 3.17.3'

Is your project on an affected oj?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting oj 1.2.13

  • HighCVE-2026-54903GHSA-475m-ph3x-64gp19 Jun 2026

    Oj: Integer Overflow in Oj.load 2GB String Handling

    Affected
    <3.17.3
    Fixed in
    3.17.3
  • HighCVE-2026-54902GHSA-m578-w5vf-rfcm19 Jun 2026

    Oj: Use-After-Free in Oj::Parser SAJ Long Key Callback

    Affected
    <3.17.3
    Fixed in
    3.17.3
  • HighCVE-2026-54901GHSA-vwm4-62gf-x74519 Jun 2026

    Oj: Use-After-Free in Oj::Parser array_class/hash_class GC Marking

    Affected
    <3.17.3
    Fixed in
    3.17.3
  • HighCVE-2026-54900GHSA-9cv6-qcjw-4grx19 Jun 2026

    Oj: Negative-Size memcpy in Oj::Parser create_id Attribute Handling

    Affected
    <3.17.3
    Fixed in
    3.17.3
  • HighCVE-2026-54898GHSA-q2gm-54r6-8fwm19 Jun 2026

    Oj: Use-After-Free in Oj::Parser SAJ Callback via Input Mutation

    Affected
    <3.17.3
    Fixed in
    3.17.3
  • HighCVE-2026-54897GHSA-9ppp-w3g4-fh4q19 Jun 2026

    Oj: Use-After-Free in Oj::Doc Iterators via Reentrant Close

    Affected
    <3.17.3
    Fixed in
    3.17.3
  • HighCVE-2026-54896GHSA-35w3-pjm6-wj9519 Jun 2026

    Oj: Heap Buffer Overflow in Oj.dump Exception Serialization via Large Indent

    Affected
    <3.17.3
    Fixed in
    3.17.3
  • HighCVE-2026-54592GHSA-3m6q-jj5j-38c919 Jun 2026

    Oj: Stack Buffer Overflow in Oj::Doc#each_child via Deeply Nested Input

    Affected
    <3.17.3
    Fixed in
    3.17.3
  • MediumCVE-2026-54500GHSA-fm7p-mprw-wjm919 Jun 2026

    Oj: intern.c form_attr (uninitialized stack read)

    Affected
    <3.17.3
    Fixed in
    3.17.3
  • HighCVE-2026-54502GHSA-3v45-f3vh-wg7m19 Jun 2026

    Oj: Stack Buffer Overflow in Oj.dump via Large Indent

    Affected
    <3.17.3
    Fixed in
    3.17.3
  • HighCVE-2026-54899GHSA-2cw7-v8ff-p88r19 Jun 2026

    Oj: Use-After-Free in Oj::Parser Symbol Key Cache Toggle

    Affected
    <3.17.2
    Fixed in
    3.17.2

Every oj 1.2.x release

Affected: 1.2.0 to 1.2.13. Latest oj: 3.17.8.

VersionKnown advisories
oj 1.2.13CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.12CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.11CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.10CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.9CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.8CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.7CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.6CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.5CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.4CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.3CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.2CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.1CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899
oj 1.2.0CVE-2026-54903, CVE-2026-54902, CVE-2026-54901, CVE-2026-54900, CVE-2026-54898, CVE-2026-54897, CVE-2026-54896, CVE-2026-54592, CVE-2026-54500, CVE-2026-54502, CVE-2026-54899

Which of your client projects are still on oj 1.2?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact oj version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other oj versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.