CWE-134: Use of Externally-Controlled Format String in ruby json (CVE-2026-33210)
A format string injection vulnerability (CWE-134) exists in the Ruby JSON library versions 2.14.0 up to but not including 2.15.2.1, 2.16.0 up to but not including 2.17.1.2, and 2.18.0 up to but not including 2.19.2. This vulnerability can lead to denial of service or information disclosure when parsing user-supplied JSON documents with the allow_duplicate_key: false option. The issue has been patched in versions 2.15.2.1, 2.17.1.2, and 2.19.2. Red Hat has released security updates addressing this vulnerability in their ruby4.0 packages for Red Hat Enterprise Linux 10 and related products.
AI Analysis
Technical Summary
CVE-2026-33210 is a format string injection vulnerability in the Ruby JSON library affecting versions >=2.14.0 <2.15.2.1, >=2.16.0 <2.17.1.2, and >=2.18.0 <2.19.2. When the allow_duplicate_key: false parsing option is used on user-supplied JSON documents, an attacker can exploit this vulnerability to cause denial of service or information disclosure. The vulnerability has been addressed and patched in versions 2.15.2.1, 2.17.1.2, and 2.19.2. Red Hat Product Security has issued an advisory (RHSA-2026:20606) with updates for ruby4.0 packages on Red Hat Enterprise Linux 10 and related architectures. The CVSS v4.0 base score is 8.3, indicating a high severity vulnerability with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on availability and confidentiality.
Potential Impact
Exploitation of this vulnerability can lead to denial of service or information disclosure when parsing specially crafted JSON documents with the allow_duplicate_key: false option enabled. This can affect applications using vulnerable Ruby JSON versions, potentially causing service disruption or leakage of sensitive information. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available. Users should upgrade Ruby JSON to versions 2.15.2.1, 2.17.1.2, or 2.19.2 or later. Red Hat has released updated ruby4.0 packages for Red Hat Enterprise Linux 10 and related platforms that address this vulnerability. Applying these official patches will remediate the issue. No additional mitigation is required beyond applying the vendor-provided updates.
CWE-134: Use of Externally-Controlled Format String in ruby json (CVE-2026-33210)
Description
A format string injection vulnerability (CWE-134) exists in the Ruby JSON library versions 2.14.0 up to but not including 2.15.2.1, 2.16.0 up to but not including 2.17.1.2, and 2.18.0 up to but not including 2.19.2. This vulnerability can lead to denial of service or information disclosure when parsing user-supplied JSON documents with the allow_duplicate_key: false option. The issue has been patched in versions 2.15.2.1, 2.17.1.2, and 2.19.2. Red Hat has released security updates addressing this vulnerability in their ruby4.0 packages for Red Hat Enterprise Linux 10 and related products.
CVSS v4.0
Score 8.3high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-33210 is a format string injection vulnerability in the Ruby JSON library affecting versions >=2.14.0 <2.15.2.1, >=2.16.0 <2.17.1.2, and >=2.18.0 <2.19.2. When the allow_duplicate_key: false parsing option is used on user-supplied JSON documents, an attacker can exploit this vulnerability to cause denial of service or information disclosure. The vulnerability has been addressed and patched in versions 2.15.2.1, 2.17.1.2, and 2.19.2. Red Hat Product Security has issued an advisory (RHSA-2026:20606) with updates for ruby4.0 packages on Red Hat Enterprise Linux 10 and related architectures. The CVSS v4.0 base score is 8.3, indicating a high severity vulnerability with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on availability and confidentiality.
Potential Impact
Exploitation of this vulnerability can lead to denial of service or information disclosure when parsing specially crafted JSON documents with the allow_duplicate_key: false option enabled. This can affect applications using vulnerable Ruby JSON versions, potentially causing service disruption or leakage of sensitive information. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available. Users should upgrade Ruby JSON to versions 2.15.2.1, 2.17.1.2, or 2.19.2 or later. Red Hat has released updated ruby4.0 packages for Red Hat Enterprise Linux 10 and related platforms that address this vulnerability. Applying these official patches will remediate the issue. No additional mitigation is required beyond applying the vendor-provided updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:20606
- Cve Count
- 2
- Additional Cves
- ["CVE-2026-41316"]
- Cvss Version
- null
Threat ID: 6a160980e29bf47b5064cc93
Added to database: 05/26/2026, 20:58:40 UTC
Last enriched: 07/15/2026, 15:54:39 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 126
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.