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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-3m6g-2423-7cp3 Ruby JSON has a format string injection vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 21 Mar 2026 05:30:00 +0000

Type Values Removed Values Added
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.
Title Ruby JSON has a format string injection vulnerability
Weaknesses CWE-134
References
Metrics cvssV4_0

{'score': 8.3, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-20T22:57:08.758Z

Reserved: 2026-03-17T23:23:58.313Z

Link: CVE-2026-33210

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-20T23:16:46.010

Modified: 2026-03-20T23:16:46.010

Link: CVE-2026-33210

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses