Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.8

Ruby 4.0 pattern errors may crash MySQL/PG gems

published 13 days ago
Summary

The Ruby 4.0 interpreter has a flaw in its regular‑expression engine that can overflow numbers and corrupt memory. This can cause the MySQL2 and PG Ruby gems on Rocky Linux to crash or behave unpredictably. Install the latest Ruby 4.0 update for Rocky Linux to fix the issue.

What to do
  • Update rocky rubygem-mysql2 to version 0:0.5.7-1.module+el9.8.0+40094+ce01217c.
  • Update rocky rubygem-pg to version 0:1.6.3-1.module+el9.8.0+40094+ce01217c.
Affected software
Ecosystem VendorProductAffected versions
Rocky Linux:9 rocky rubygem-mysql2 < 0:0.5.7-1.module+el9.8.0+40094+ce01217c
Fix: upgrade to 0:0.5.7-1.module+el9.8.0+40094+ce01217c
Rocky Linux:9 rocky rubygem-pg < 0:1.6.3-1.module+el9.8.0+40094+ce01217c
Fix: upgrade to 0:1.6.3-1.module+el9.8.0+40094+ce01217c
Original advisory text
Moderate: ruby:4.0 security, bug fix, and enhancement update
Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.

Security Fix(es):

* ruby: integer overflow issue in regular expression compiler (CVE-2026-93577)

* ruby: integer overflow issue in CI/CD regular expression compiler (CVE-2026-97229)

* ruby: integer overflow issue in regular expression compiler (CVE-2026-110264)

Bug Fix(es) and Enhancement(s):

* ruby:4.0/ruby: Rebase to the latest Ruby 4.0 release [rhel-9] (JIRA:Rocky Linux-260675)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
9.8 Critical
Timeline
Published9 Nov 2026
Updated9 Nov 2026
First seen9 Nov 2026
Sources
Track software like this
Free during beta