Is json 2.10 vulnerable?

RubyGems · 3 releases from 2.10.0 to 2.10.2 · latest json is 3.1.0 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. json 2.10.2, the last 2.10 release, is affected by 1 known security advisory (1 low), including CVE-2026-54696. 1 more affects earlier 2.10.x releases. Upgrade to 2.19.9 or later to fix all of them.

Upgrade with:bundle update --conservative json # Gemfile: '>= 2.19.9'

Is your project on an affected json?

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 json 2.10.2

  • LowCVE-2026-54696GHSA-x2f5-4prf-w68723 Jul 2026

    Ruby json: JSON generator heap buffer overflow when streaming to an IO

    Affected
    >=2.9.0 <2.19.9
    Fixed in
    2.19.9

Fixed within 2.10.x, affecting earlier releases

  • HighCVE-2025-27788GHSA-9m3q-rhmv-5q4412 Mar 2025

    Out-of-bounds Read in Ruby JSON Parser

    Affected
    >=2.10.0 <2.10.2
    Fixed in
    2.10.2

Every json 2.10.x release

Affected: 2.10.0 to 2.10.2. Latest json: 3.1.0.

VersionKnown advisories
json 2.10.2CVE-2026-54696
json 2.10.1CVE-2026-54696, CVE-2025-27788
json 2.10.0CVE-2026-54696, CVE-2025-27788

Which of your client projects are still on json 2.10?

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

Other json 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.