CVE-2026-33210 — Vulnerability in json — CVE Details
Ruby JSON has a format string injection vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.18%). Schedule for your next planned update.
Does your project use an affected json version?
Paste your Gemfile.lock to check it for CVE-2026-33210 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
A format string injection vulnerability than that 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 option isn't the default, if you didn't opt-in to use it, you are not impacted.
Patches
Patched in 2.19.2.
Workarounds
The issue can be avoided by not using the allow_duplicate_key: false parsing option.
Advisory Timeline
- First published March 19, 2026 (252 days ago).
- Last revised September 10, 2026 — 175 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install json -v 2.17.1.2
gem install json -v 2.15.2.1
gem install json -v 2.19.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: RubyGems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-134
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.6 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
References
Frequently Asked Questions
- What is CVE-2026-33210?
- Ruby JSON has a format string injection vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.6/10).
- How do I check if my project is affected by CVE-2026-33210?
- CVE-2026-33210 affects json. It has a 1.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-33210 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 67.5% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-126366HIGH
msgpack-ruby JRuby decoder makes uncapped header-count allocations; a 5-byte message forces multi-GiB OOM
- CVE-2025-27788HIGH
Out-of-bounds Read in Ruby JSON Parser
- CVE-2020-10663HIGH
Unsafe object creation in json RubyGem
- CVE-2026-126081HIGH
Action Pack: Possible Strong Parameters Bypass in Parameters#each_key