Critical · published March 21, 2026
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.
| Product | Versions | Fixed in |
|---|---|---|
| ruby-lang/json | ≥ 2.14.0, < 2.15.2.1 | 2.15.2.1 |
| ruby-lang/json | ≥ 2.16.0, < 2.17.1.2 | 2.17.1.2 |
| ruby-lang/json | ≥ 2.18.0, < 2.19.2 | 2.19.2 |