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.
bundle update --conservative json # Gemfile: '>= 2.19.9'Is your project on an affected json?
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
Ruby json: JSON generator heap buffer overflow when streaming to an IO
- Affected
- >=2.9.0 <2.19.9
- Fixed in
- 2.19.9
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.
| Version | Known advisories |
|---|---|
| json 2.19.9 | None |
| json 2.19.8 | CVE-2026-54696 |
| json 2.19.7 | CVE-2026-54696 |
| json 2.19.6 | CVE-2026-54696 |
| json 2.19.5 | CVE-2026-54696 |
| json 2.19.4 | CVE-2026-54696 |
| json 2.19.3 | CVE-2026-54696 |
| json 2.19.2 | CVE-2026-54696 |
| json 2.19.1 | CVE-2026-54696, CVE-2026-33210 |
| json 2.19.0 | CVE-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.