Heap-based Buffer Overflow Affecting ruby4.0-rubygem-mysql2 package, versions <0:0.5.7-39.el10_3


Severity

Recommended
critical

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
1.97% (82nd 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-ORACLE10-RUBY40RUBYGEMMYSQL2-22841063
  • published24 Nov 2026
  • disclosed19 Nov 2026

Introduced: 19 Nov 2026

NewCVE-2026-132825  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Oracle:10 ruby4.0-rubygem-mysql2 to version 0:0.5.7-39.el10_3 or higher.
This issue was patched in ELSA-2026-102714.

NVD Description

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

Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can be written outside a buffer for, for example, ISO-8859-1 or Windows-1252.

CVSS Base Scores

version 3.1