Ruby JSON 2.14.0-2.15.2.1 Format String Injection (allow_duplicate_key: false)
CVE-2026-33210 Published on March 20, 2026
Ruby 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.
Vulnerability Analysis
CVE-2026-33210 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity, and a high impact on availability.
Weakness Type
Use of Externally-Controlled Format String
The software uses a function that accepts a format string as an argument, but the format string originates from an external source.
Products Associated with CVE-2026-33210
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
ruby json:- Version >= 2.14.0, < 2.15.2.1 is affected.
- Version >= 2.16.0, < 2.17.1.2 is affected.
- Version >= 2.18.0, < 2.19.2 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.