Skip to main content

CVE-2026-33210 — Vulnerability in json — CVE Details

HIGH

Ruby JSON has a format string injection vulnerability

Published March 19, 2026Updated September 10, 2026Source: OSV

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.

Check my Gemfile.lock

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.

Bundler
Update json to 2.17.1.2 or later
gem install json -v 2.17.1.2
Bundler
Update json to 2.15.2.1 or later
gem install json -v 2.15.2.1
Bundler
Update json to 2.19.2 or later
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).

PackageFixed In
json RubyGems · Affected: 2.16.0, 2.17.0, 2.17.12.17.1.2
json RubyGems · Affected: 2.14.0, 2.14.1, 2.15.0, 2.15.1 (+1 more)2.15.2.1
json RubyGems · Affected: 2.18.0, 2.18.1, 2.19.0, 2.19.12.19.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

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

CVSS Score
7.6

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
1.18%
EPSS percentile: 67.5

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

GHSA-3m6g-2423-7cp3

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock