Top stories

Security advisories: multiple vulnerabilities in Regexp and String case conversion

The Ruby team disclosed seven vulnerabilities in Ruby's regular expression engine and string case conversion, and released Ruby 4.0.10, 3.4.13 and 3.3.14 to fix them. Proofs of concept show some of the flaws can trigger remote code execution, including a one-byte heap buffer overflow in case conversion (GHSA-34m4-m9fh-gqp5) and a double free when compiling crafted regex patterns (GHSA-7x2q-68qv-6p8x). CVE identifiers have been requested but not yet assigned, and users are strongly urged to upgrade.

  • Regexp compilation fixes related to GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264

    Ruby has released versions 4.0.9, 3.4.12 and 3.3.13 to fix bugs in its Onigmo regular-expression engine that GitLab found could enable remote code execution on its servers. GitLab said specially crafted user-supplied patterns could corrupt memory during compilation; it published four CVEs covering double-free and integer-overflow issues. GitLab patched the Ruby it ships, while the new Ruby releases fix the underlying bugs in the language runtime.

  • Ruby 4.0.3 Released

    Ruby 4.0.3 has been released. This release only contains ERB 6.0.1.1, which fixes CVE-2026-41316. If your application calls Marshal.load on untrusted data AND has both erb and activesupport loaded, please update your ERB to 4.0.3.1, 4.0.4.1, 6.0.1.1, 6.0.4 or later. You may use…

  • Security advisories: CVE-2026-80212 and CVE-2026-80213

    Two vulnerabilities have been found in the resolv gem bundled with Ruby. CVE-2026-80212 can cause applications resolving attacker-influenced hostnames to retain DNS responses and exhaust memory; CVE-2026-80213 can bypass hostname checks and direct a lookup to a different domain. The second issue requires a hostname exceeding DNS length limits, while validation that rejects names over 255 octets or labels over 63 octets is not affected. The advisory recommends upgrading the gem.

Latest

  1. Ruby 4.0.10 Released

    Ruby 4.0.10 has been released. This release includes security fixes. Please check the topic below for details. Security advisories: multiple vulnerabilities in Regexp and String case conversion This release also includes other bugfixes. Please see the GitHub releases for further…

  2. Ruby 3.3.14 Released

    The Ruby core team has released Ruby 3.3.14, a security release addressing multiple vulnerabilities in Regexp and String case conversion. Starting with this version, Ruby 3.3 will also receive backported fixes for bugs judged necessary, not only security patches. The phase has accordingly been renamed from security maintenance to legacy maintenance. The support period is unchanged, with official support for Ruby 3.3 still scheduled to end at the end of March 2027.

  3. Ruby 3.4.13 Released

    The Ruby core team has released Ruby 3.4.13, which includes security fixes for multiple vulnerabilities in Regexp and String case conversion. The release also contains other bug fixes, with full change details published in the project's GitHub releases. Source packages are available in tar.gz, tar.xz and zip formats from the Ruby download cache.

  4. Ruby 3.3.13 Released

    Ruby 3.3.13 has been released with security fixes for CVE-2026-80212 and CVE-2026-80213, delivered through an update to the default resolv gem to version 0.3.2. It also fixes regular-expression compilation bugs associated with four GitLab CVEs. Ruby 3.3 is in its security maintenance phase; the release includes these additional compilation fixes as an exception.

  5. Ruby 3.4.12 Released

    Ruby 3.4.12 has been released with fixes for regular-expression compilation bugs associated with four CVEs published by GitLab: CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264. The update also contains other bug fixes and is available as downloadable source archives.

  6. Ruby 4.0.9 Released

    Ruby 4.0.9 has been released with a fix for a regular-expression compilation bug tied to GitLab’s CVE-2026-110264. The release also includes fixes for compilation issues associated with CVE-2026-89078, CVE-2026-93577 and CVE-2026-97229. The update is available as downloadable source archives.

  7. Ruby 4.0.8 Released

    The Ruby team released Ruby 4.0.8 as a routine update containing bug fixes. The release is available in compressed tarball and ZIP formats.

  8. Image: Ruby

    Ruby 4.1.0-preview1 Released

    The Ruby team has released Ruby 4.1.0-preview1, introducing Ractor-local garbage collection, Windows support for YJIT and autoload_relative. Each Ractor now runs its own garbage collection on its own thread by default, while a global collection remains available when needed. The preview also changes Ractor behavior, including making Ractor#value return its value only once. The release notes describe further Ractor and GC changes.

  9. Ruby 3.4.11 Released

    The Ruby team has released Ruby 3.4.11 as a scheduled update containing bug fixes. The release is available for download in several archive formats.

  10. Ruby 4.0.7 Released

    The Ruby team has released Ruby 4.0.7, a routine update containing bug fixes. The next scheduled release, Ruby 4.0.8, is planned for November, although the schedule may change if a change significantly affects users.

  11. Ruby 3.3.12 Released

    The Ruby team has released Ruby 3.3.12 with security fixes, including a guard-bypass issue in ERB identified as CVE-2026-41316. The release updates the default erb gem to 4.0.3.1 and bundled net-imap to 0.4.25; the latter fixes eight listed CVEs. The update is available as a Ruby release.

  12. Ruby 4.0.6 Released

    The Ruby team has released Ruby 4.0.6, a routine update containing bug fixes. The planned schedule lists Ruby 4.0.7 for September and Ruby 4.0.8 for November, though releases may move if a change significantly affects users.

  13. Ruby 3.4.10 Released

    The Ruby project released Ruby 3.4.10 as a regular stable package update. It updates the bundled net-imap gem to version 0.5.15, which includes security fixes. The release is available in downloadable archive formats.

  14. Ruby 4.0.5 Released

    The Ruby team has released Ruby 4.0.5 with a security fix for CVE-2026-46727, a use-after-free in the pthread-based getaddrinfo timeout handler. The update also addresses a build-system regression in Ruby 4.0.4 under the C locale. Ruby’s planned release schedule calls for Ruby 4.0.6 in July, 4.0.7 in September and 4.0.8 in November.

  15. CVE-2026-46727: Use-after-free in pthread-based getaddrinfo timeout handler

    A use-after-free vulnerability in Ruby’s pthread-based getaddrinfo timeout handler can let a remote attacker trigger a process crash by delaying DNS responses near the configured timeout. The issue affects Ruby 4.0.0 through 4.0.4 and Ruby 4.1.0-dev before the fix; Ruby 3.4 and earlier are not affected. Ruby 4.0.5 or later contains the fix. Until upgrading, users can avoid the affected timeout options in Addrinfo.getaddrinfo and Socket.tcp.

  16. Ruby 4.0.4 Released

    The Ruby team has released Ruby 4.0.4, a routine update containing bug fixes. The release schedule listed Ruby 4.0.5 for July, 4.0.6 for September and 4.0.7 for November, with the possibility of earlier releases for changes that significantly affect users.