Use of Externally-Controlled Format String Affecting rubygem-mysql2 package, versions <0:0.5.7-1.module+el9.8.0+40094+ce01217c


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
1.01% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY9-RUBYGEMMYSQL2-17053686
  • published29 May 2026
  • disclosed20 Mar 2026

Introduced: 20 Mar 2026

CVE-2026-33210  (opens in a new tab)
CWE-134  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:9 rubygem-mysql2 to version 0:0.5.7-1.module+el9.8.0+40094+ce01217c or higher.
This issue was patched in RLSA-2026:20596.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-mysql2 package and not the rubygem-mysql2 package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1