Is json 2.19 vulnerable?

RubyGems · 10 releases from 2.19.0 to 2.19.9 · latest json is 3.1.0 · checked 18 Nov 2026

No known advisories in the last release

json 2.19.9, the last 2.19 release, has no known advisories. 2 advisories affect earlier 2.19.x releases, so update to 2.19.9.

Update within 2.19: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

Fixed within 2.19.x, affecting earlier releases

  • 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
  • HighCVE-2026-33210GHSA-3m6g-2423-7cp319 Mar 2026

    Ruby JSON has a format string injection vulnerability

    Affected
    >=2.18.0 <2.19.2 · >=2.16.0 <2.17.1.2 · >=2.14.0 <2.15.2.1
    Fixed in
    2.15.2.1, 2.17.1.2, 2.19.2

Every json 2.19.x release

Affected: 2.19.0 to 2.19.8. 2.19.9 is not affected. Latest json: 3.1.0.

VersionKnown advisories
json 2.19.9None
json 2.19.8CVE-2026-54696
json 2.19.7CVE-2026-54696
json 2.19.6CVE-2026-54696
json 2.19.5CVE-2026-54696
json 2.19.4CVE-2026-54696
json 2.19.3CVE-2026-54696
json 2.19.2CVE-2026-54696
json 2.19.1CVE-2026-54696, CVE-2026-33210
json 2.19.0CVE-2026-54696, CVE-2026-33210

Which of your client projects are still on json 2.19?

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.