CVE-2026-33210Ruby JSON has a format string injection vulnerability
Ruby JSON is a JSON implementation for Ruby. From version 2.14.0 to before versions 2.15.2.1, 2.17.1.2, and 2.19.2, a format string injection vulnerability can lead to denial of service attacks or information disclosure, when the allow_duplicate_key: false parsing option is used to parse user supplied documents. This issue has been patched in versions 2.15.2.1, 2.17.1.2, and 2.19.2.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, RubyGems: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ruby-json | Fix pending | UBUNTU-CVE-2026-33210 | |
| Ubuntu 26.04 | ruby-json | Under investigation | UBUNTU-CVE-2026-33210 | |
| Ubuntu 25.10 | ruby-json | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-33210 | |
| Ubuntu 24.04 | ruby-json | Under investigation | UBUNTU-CVE-2026-33210 | |
| Ubuntu 22.04 | ruby-json | Under investigation | UBUNTU-CVE-2026-33210 | |
| Ubuntu 20.04 | ruby-json | Fix pending | UBUNTU-CVE-2026-33210 | |
| Ubuntu 18.04 | ruby-json | Fix pending | UBUNTU-CVE-2026-33210 | |
| Ubuntu 16.04 | ruby-json | Fix pending | UBUNTU-CVE-2026-33210 | |
| Ubuntu 14.04 | ruby-json | Fix pending | UBUNTU-CVE-2026-33210 | |
| Debian 14 | ruby-json | Fixed | 2.19.2+dfsg-1 | DEBIAN-CVE-2026-33210 |
| Red Hat Enterprise Linux 10 | ruby | Not affected | ||
| Red Hat Enterprise Linux 10 | ruby-bundled-gems | Not affected | ||
| Red Hat Enterprise Linux 10 | ruby-default-gems | Not affected | ||
| Red Hat Enterprise Linux 10 | ruby-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | ruby-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | ruby-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | ruby4.0 | Fixed | 0:4.0.3-34.el10_2 | RHSA-2026:20606 |
| Red Hat Enterprise Linux 10 | ruby4.0-devel | Fixed | 0:4.0.3-34.el10_2 | RHSA-2026:20606 |
| Red Hat Enterprise Linux 10 | ruby4.0-doc | Fixed | 0:4.0.3-34.el10_2 | RHSA-2026:20606 |
| Red Hat Enterprise Linux 10 | ruby4.0-rubygem-mysql2 | Fixed | 0:0.5.7-34.el10_2 | RHSA-2026:20606 |
| Red Hat Enterprise Linux 10 | ruby4.0-rubygem-pg | Fixed | 0:1.6.3-34.el10_2 | RHSA-2026:20606 |
| Red Hat Enterprise Linux 10 | rubygem-bigdecimal | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-bundler | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-io-console | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-irb | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-json | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-minitest | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-power_assert | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-psych | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-racc | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-rake | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-rbs | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-rdoc | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-rexml | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-rss | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-test-unit | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-typeprof | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygems | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygems-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | ruby | Fixed | 0:4.0.3-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | ruby-bundled-gems | Fixed | 0:4.0.3-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | ruby-default-gems | Fixed | 0:4.0.3-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | ruby-devel | Fixed | 0:4.0.3-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | ruby-doc | Fixed | 0:4.0.3-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | ruby-libs | Fixed | 0:4.0.3-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-bigdecimal | Fixed | 0:4.0.1-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-bundler | Fixed | 0:4.0.6-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-io-console | Fixed | 0:0.8.2-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-irb | Fixed | 0:1.16.0-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-json | Fixed | 0:2.18.0-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-minitest | Fixed | 0:6.0.0-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-mysql2 | Fixed | 0:0.5.7-1.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-mysql2-doc | Fixed | 0:0.5.7-1.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-pg | Fixed | 0:1.6.3-1.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-pg-doc | Fixed | 0:1.6.3-1.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-power_assert | Fixed | 0:3.0.1-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-psych | Fixed | 0:5.3.1-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-racc | Fixed | 0:1.8.1-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-rake | Fixed | 0:13.3.1-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-rbs | Fixed | 0:3.10.0-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-rdoc | Fixed | 0:7.0.3-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-rexml | Fixed | 0:3.4.4-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-rss | Fixed | 0:0.3.2-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-test-unit | Fixed | 0:3.7.5-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygem-typeprof | Fixed | 0:0.31.1-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygems | Fixed | 0:4.0.6-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9 | rubygems-devel | Fixed | 0:4.0.6-32.module+el9.8.0+24280+122d8796 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 8 | pcs | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-bundled-gems | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-default-gems | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-irb | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-abrt | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-abrt-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bigdecimal | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bson | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bson-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bundler | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bundler-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-did_you_mean | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-io-console | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-irb | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-json | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-minitest | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mongo | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mongo-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mysql2 | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mysql2-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-net-telnet | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-pg | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-pg-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-power_assert | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-psych | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-racc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rake | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rbs | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rdoc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rexml | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rss | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-test-unit | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-typeprof | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-xmlrpc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygems | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygems-devel | Not affected | ||
| AlmaLinux 10 | ruby4.0-doc | Fixed | 4.0.3-34.el10_2 | ALSA-2026:20606 |
| AlmaLinux 9 | ruby | Fixed | 4.0.3-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | ruby-bundled-gems | Fixed | 4.0.3-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | ruby-default-gems | Fixed | 4.0.3-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | ruby-devel | Fixed | 4.0.3-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | ruby-doc | Fixed | 4.0.3-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | ruby-libs | Fixed | 4.0.3-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-bigdecimal | Fixed | 4.0.1-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-bundler | Fixed | 4.0.6-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-io-console | Fixed | 0.8.2-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-irb | Fixed | 1.16.0-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-json | Fixed | 2.18.0-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-minitest | Fixed | 6.0.0-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-mysql2 | Fixed | 0.5.7-1.module_el9.8.0+232+50f6dd36 | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-mysql2-doc | Fixed | 0.5.7-1.module_el9.8.0+232+50f6dd36 | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-pg | Fixed | 1.6.3-1.module_el9.8.0+232+50f6dd36 | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-pg-doc | Fixed | 1.6.3-1.module_el9.8.0+232+50f6dd36 | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-power_assert | Fixed | 3.0.1-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-psych | Fixed | 5.3.1-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-racc | Fixed | 1.8.1-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-rake | Fixed | 13.3.1-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-rbs | Fixed | 3.10.0-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-rdoc | Fixed | 7.0.3-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-rexml | Fixed | 3.4.4-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-rss | Fixed | 0.3.2-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-test-unit | Fixed | 3.7.5-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygem-typeprof | Fixed | 0.31.1-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygems | Fixed | 4.0.6-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| AlmaLinux 9 | rubygems-devel | Fixed | 4.0.6-32.module_el9.8.0+251+5fdbd96b | ALSA-2026:20596 |
| Rocky Linux 10 | ruby4.0 | Fixed | 0:4.0.3-34.el10_2 | RLSA-2026:20606 |
| Rocky Linux 9 | rubygem-mysql2 | Fixed | 0:0.5.7-1.module+el9.8.0+40094+ce01217c | RLSA-2026:20596 |
| Rocky Linux 9 | rubygem-pg | Fixed | 0:1.6.3-1.module+el9.8.0+40094+ce01217c | RLSA-2026:20596 |
| RubyGems library | json | Fixed | 2.15.2.1 | GHSA-3m6g-2423-7cp3 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ruby json: affected: >= 2.14.0, < 2.15.2.1, >= 2.16.0, < 2.17.1.2, >= 2.18.0, < 2.19.2
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.