Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. json
  4. ›
  5. CVE-2026-33210

CVE-2026-33210: Ruby JSON has a format string injection vulnerability

March 19, 2026

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.

References

  • github.com/advisories/GHSA-3m6g-2423-7cp3
  • github.com/ruby/json
  • github.com/ruby/json/security/advisories/GHSA-3m6g-2423-7cp3
  • nvd.nist.gov/vuln/detail/CVE-2026-33210

Code Behaviors & Features

Detect and mitigate CVE-2026-33210 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.14.0 before 2.15.2.1, all versions starting from 2.16.0 before 2.17.1.2, all versions starting from 2.18.0 before 2.19.2

Fixed versions

  • 2.19.2
  • 2.17.1.2
  • 2.15.2.1

Solution

Upgrade to versions 2.15.2.1, 2.17.1.2, 2.19.2 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-134: Use of Externally-Controlled Format String

Source file

gem/json/CVE-2026-33210.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 19 Mar 2026 16:07:21 +0000.