Home›Discover›Programming›Ruby News

Ruby News

Posts per week · about 00 subscribersenProgramming
www.ruby-lang.org

Recent articles

Subscribe and these — and every new article — show up in your reader

Security advisories: multiple vulnerabilities in Regexp and String case conversion

AI summarySeven vulnerabilities have been discovered in Ruby's regular expression engine and string case conversion, some of which have proof-of-concept exploits that can trigger remote code execution. The flaws affect Ruby 3.3.13 and earlier, 3.4.0 through 3.4.12, and 4.0.0 through 4.0.9, and have been fixed in Ruby 4.0.10, 3.4.13, and 3.3.14. Users are strongly recommended to upgrade, though CVE identifiers have not yet been assigned, so the advisories use GitHub Security Advisory (GHSA) identifiers.

Ruby 3.3.14 Released

AI summaryRuby 3.3.14 has been released, including security fixes for multiple vulnerabilities in Regexp and String case conversion. Starting with this release, Ruby 3.3 will also receive backported bug fixes rather than security fixes only, so the phase has been renamed from the security maintenance phase to the legacy maintenance phase, with official support still scheduled to end at the end of March 2027. The release includes download links and checksums for the tar.gz, tar.xz, and zip packages, with further details available on GitHub releases.

Ruby 3.4.13 Released

AI summaryRuby 3.4.13 has been released, including security fixes for multiple vulnerabilities in Regexp and String case conversion, along with other bug fixes. Download links and checksums for the tar.gz, tar.xz, and zip packages are provided. The release thanks the many committers, developers, and users who contributed bug reports.

Ruby 4.0.10 Released

AI summaryRuby 4.0.10 has been released, featuring security fixes for multiple vulnerabilities in Regexp and String case conversion, along with additional bug fixes. Download links for the tar.gz, tar.xz, and zip packages are provided with checksum details. The release credits many committers, developers, and users who contributed bug reports.

Ruby 3.3.13 Released

AI summaryRuby 3.3.13 has been released with security fixes, including an update to the default resolv gem (version 0.3.2) that addresses CVE-2026-80212 and CVE-2026-80213. As an exception during Ruby 3.3's security maintenance phase, this release also includes Regexp compilation bug fixes related to several GitLab CVEs (CVE-2026-89078, CVE-2026-93577, CVE-2026-97229, and CVE-2026-110264). Further details are available on the GitHub releases page.

Ruby 3.4.12 Released

AI summaryRuby 3.4.12 has been released, featuring fixes for Regexp compilation bugs that GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229, and CVE-2026-110264 rely on, along with other bug fixes. Download links and checksums for the source archives (.tar.gz, .tar.xz, and .zip) are provided, with further details available on GitHub releases. The release announcement, posted by nagachika on 23 Oct 2026, thanks the committers, developers, and users who contributed bug reports.

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

AI summaryRuby 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 cause memory corruption and remote code execution when compiling attacker-controlled patterns, corresponding to CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264. Only applications that compile regular expressions from untrusted input (e.g., via Regexp.new or string interpolation into a regexp literal) are affected, and timeouts or length limits do not protect against these bugs. Users are advised to upgrade to the fixed releases or avoid compiling regular expressions from untrusted input, and Ruby has published security advisories treating these memory corruption issues as vulnerabilities.

Ruby 4.0.9 Released

AI summaryRuby 4.0.9 has been released, featuring fixes for Regexp compilation bugs exploited by GitLab's CVE-2026-110264, along with issues related to CVE-2026-89078, CVE-2026-93577, and CVE-2026-97229. Download links and checksums for tar.gz, tar.xz, and zip packages are available on the official Ruby cache site, with further details on GitHub releases. The release credits contributions from committers, developers, and users who provided bug reports.

Ruby 4.0.8 Released

AI summaryRuby 4.0.8 has been released as a routine update that includes bugfixes, with further details available on GitHub releases. Download links for the tar.gz, tar.xz, and zip packages are provided along with their size and hash values. The release thanks the many committers, developers, and users whose bug reports and contributions made it possible.

Ruby 4.1.0-preview1 Released

AI summaryRuby 4.1.0-preview1 has been released, introducing Ractor-local garbage collection that lets each Ractor collect its own heap without stopping others, bringing Ractors closer to leaving experimental status, along with Windows support for YJIT and new autoload_relative methods. The release includes numerous language and core class changes, such as Integer#bit_count, Module#descendants, Range#clamp, frozen Regexp instances, new String bit operations and packing formats, plus updates to the standard library. Several bundled gems were promoted (prism, tsort, win32-registry) or removed (net-ftp, net-pop), and many default gems were updated.