Ruby JSON has a format string injection vulnerability
ruby json
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| json RubyGems |
|
|
Original description
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.
From the CVE record · GitHub_M
References
- github.com/ruby/json/security/advisories/GHSA-3m6g-2423-7cp3Vendor advisory
- access.redhat.com/security/cve/CVE-2026-33210
- bugzilla.redhat.com/show_bug.cgi?id=2449871
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33210.json
- access.redhat.com/errata/RHSA-2026:20606
- access.redhat.com/errata/RHSA-2026:20596
- access.redhat.com/errata/RHSA-2026:57565
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33210.json
- nvd.nist.gov/vuln/detail/CVE-2026-33210
- github.com/ruby/json
- github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2026-33210.yml