# Ruby-lang

The latest news from ruby-lang.org.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Security advisories: multiple vulnerabilities in Regexp and String case conversion

DevFeed: [Security advisories: multiple vulnerabilities in Regexp and String case conversion](<https://devfeed.tech/articles/security-advisories-multiple-vulnerabilities-in-regexp-and-string-case-conversion-142014.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/>)

Published: 2026-11-18T22:00:00Z

Content type: news

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [heap overflow](<https://devfeed.tech/topics/heap-overflow.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [code security](<https://devfeed.tech/topics/code-security.md>), [vulnerability management](<https://devfeed.tech/topics/vulnerability-management.md>), [version](<https://devfeed.tech/topics/version.md>), [case folding](<https://devfeed.tech/topics/case-folding.md>)

Tags: [buffer-overflow](<https://devfeed.tech/tags/buffer-overflow.md>), [case](<https://devfeed.tech/tags/case.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compile](<https://devfeed.tech/tags/compile.md>), [conversion](<https://devfeed.tech/tags/conversion.md>), [free](<https://devfeed.tech/tags/free.md>), [heap-buffer-overflow](<https://devfeed.tech/tags/heap-buffer-overflow.md>), [integer-overflow](<https://devfeed.tech/tags/integer-overflow.md>), [matching](<https://devfeed.tech/tags/matching.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-corruption](<https://devfeed.tech/tags/memory-corruption.md>), [multiple](<https://devfeed.tech/tags/multiple.md>), [regexp](<https://devfeed.tech/tags/regexp.md>), [regular](<https://devfeed.tech/tags/regular.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [security](<https://devfeed.tech/tags/security.md>), [security-advisories](<https://devfeed.tech/tags/security-advisories.md>), [string](<https://devfeed.tech/tags/string.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

The advisory identifies seven vulnerabilities in Ruby's regular expression engine and string case conversion, including buffer overflows, integer overflows, double free, and out-of-bounds reads. Crafted strings or patterns can cause remote code execution in some scenarios; one flaw may disclose memory or crash the process. Several issues affect applications handling attacker-controlled patterns. Affected releases are Ruby 3.3.13 and earlier, 3.4.0-3.4.12, and 4.0.0-4.0.9. The advisory recommends upgrading to Ruby 3.3.14, 3.4.13, or 4.0.10. Ruby 3.2 and earlier are end of life and will not receive these fixes.

### Source excerpt

Seven vulnerabilities have been discovered in Ruby's regular expression engine and in the case conversion of strings. We are aware of PoCs that prove some of them can be used to trigger remote code execution. We have released Ruby 4.0.10, 3.4.13 and 3.3.14 to fix them. We strongly recommend upgrading. CVE identifiers have been requested for these vulnerabilities but have not been assigned yet, so this advisory refers to them by their GitHub Security Advisory (GHSA) identifiers. GHSA-34m4-m9fh-gqp5: Heap buffer overflow in case conversion of strings Ruby has a one-byte heap-based buffer overflow in the case conversion of strings. Changing the case of a crafted string may allow remote code execution. We are aware of PoCs that prove this flaw can be used to trigger RCE in some scenarios. GHSA-7x2q-68qv-6p8x: Double free in regular expression compilation Ruby has a double free in its regular expression engine. Compiling a crafted regular expression pattern may allow remote code execution in applications that compile attacker-controlled patterns. We are aware of PoCs that prove this flaw can be used to trigger RCE in some scenarios. GHSA-87fm-7w84-j2px: Integer overflow in case conversion of strings Ruby has an integer overflow in the case conversion of strings, which causes a heap-based buffer overflow. Changing the case of a crafted string may allow remote code execution. We are aware of PoCs that prove this flaw can be used to trigger RCE in some scenarios. GHSA-wpqw-5qxg-m68r: Out-of-bounds read in case-insensitive regular expression matching Ruby has an out-of-bounds read in its regular expression engine. Matching against a crafted regular expression pattern may allow remote code execution in applications that use attacker-controlled patterns. We are aware of PoCs that prove this flaw can lead to memory corruption in an attacker-controlled way. GHSA-3p8q-wmhx-vm2w: Heap buffer overflow in regular expression compilation Ruby has an integer overflow in its regular exp

## Ruby 3.4.13 Released

DevFeed: [Ruby 3.4.13 Released](<https://devfeed.tech/articles/ruby-3-4-13-released-142016.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/11/18/ruby-3-4-13-released/>)

Published: 2026-11-18T22:00:00Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [case](<https://devfeed.tech/tags/case.md>), [conversion](<https://devfeed.tech/tags/conversion.md>), [multiple](<https://devfeed.tech/tags/multiple.md>), [regexp](<https://devfeed.tech/tags/regexp.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security](<https://devfeed.tech/tags/security.md>), [security-advisories](<https://devfeed.tech/tags/security-advisories.md>), [security-fixes](<https://devfeed.tech/tags/security-fixes.md>), [string](<https://devfeed.tech/tags/string.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

Ruby 3.4.13 was released with security fixes addressing multiple vulnerabilities in Regexp and String case conversion, plus other bug fixes. The supplied excerpt does not describe the vulnerabilities or additional fixes. It provides tar.gz, tar.xz, and zip downloads with checksums.

### Source excerpt

Ruby 3.4.13 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 details. Download https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.13.tar.gz SIZE: 22523151 SHA1: 61d6742c35916a965bb50dd6888d5f79c52938d5 SHA256: d0d3bf3dd8c224a3c3b7ecd816a0f1b2cbcf4f87b5afcbdbe91d3fef177f351a SHA512: 0c914e049939f09cfbbbb5b03b427d9525eb3c75830077eb2c07ff0ac8b06770538facdabe6e8c7524874ef30309987bb336e61f97caba65c0983beae1eb51ba https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.13.tar.xz SIZE: 16860020 SHA1: cb2473ffd6dda89de200a4056fe82b2511312cc4 SHA256: 6474dff9c02ea685fc44877a4807a27366bf109b176dad182108bb8c96d09589 SHA512: 6a2df57f072ea341ce219d2d2c6a719dda976ad53d51f1c344d623bd64a4449642b49a9c81311daf367c19d42a11e2d92ac8bb343ff8bf0697247cc09b4b6eae https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.13.zip SIZE: 27744286 SHA1: ac33a67d2386ede95744dcf8bba12880a618322c SHA256: 080c7ddd89ab02228a924837bf900310719e3486d7b664578d63a40fd1ea05ea SHA512: 19d8350b93d51914e8c49026f3526e892dc31f3e6aee4a85eea20a4d323a2eedcb40d80f0055d4cf4c9f81711f29b45fea1e0076b486e7678a34abe0fb630659 Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by nagachika on 18 Nov 2026

## Ruby 3.3.14 Released

DevFeed: [Ruby 3.3.14 Released](<https://devfeed.tech/articles/ruby-3-3-14-released-142015.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/11/18/ruby-3-3-14-released/>)

Published: 2026-11-18T22:00:00Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [3-14](<https://devfeed.tech/tags/3-14.md>), [bug-reports](<https://devfeed.tech/tags/bug-reports.md>), [case](<https://devfeed.tech/tags/case.md>), [conversion](<https://devfeed.tech/tags/conversion.md>), [download](<https://devfeed.tech/tags/download.md>), [github](<https://devfeed.tech/tags/github.md>), [legacy](<https://devfeed.tech/tags/legacy.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [multiple](<https://devfeed.tech/tags/multiple.md>), [regexp](<https://devfeed.tech/tags/regexp.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security](<https://devfeed.tech/tags/security.md>), [security-advisories](<https://devfeed.tech/tags/security-advisories.md>), [security-fixes](<https://devfeed.tech/tags/security-fixes.md>), [string](<https://devfeed.tech/tags/string.md>), [support](<https://devfeed.tech/tags/support.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

Ruby 3.3.14 includes security fixes, with advisories identified for multiple vulnerabilities in Regexp and String case conversion. From this release, Ruby 3.3's legacy maintenance phase also includes fixes for bugs judged to warrant backporting, in addition to security fixes. The support period is unchanged, and official support is scheduled to end at the end of March 2027.

### Source excerpt

Ruby 3.3.14 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 Starting with this release, Ruby 3.3 also receives fixes for bugs that we judge need to be backported, not only security fixes. Accordingly, we have renamed this phase from the security maintenance phase to the legacy maintenance phase. The support period is unchanged for now, and official support for Ruby 3.3 is still scheduled to end at the end of March 2027. Please see the GitHub releases for further details. Download https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.14.tar.gz SIZE: 21512128 SHA1: cabe592634c8cc922a3f21792b1603488a3335dc SHA256: d0438ee291b0cacaf97c7a71df4c939d7f3265c8c2d1b8ffe27311f71fc680b0 SHA512: d6c3599266d441b00659c7a6eafdc5cc2b5d5b57daa0aba6a22710a2be75bf9a9de9387b8de3734f40fea6591da0bd957ae0e2363758287bc403fe8006a5b224 https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.14.tar.xz SIZE: 16025548 SHA1: e058f5782eef876b22e12f00429a36cc16d92719 SHA256: e24ef6d97095a9c42bf8259a2de33a25aac8d92bb48fefdbdc81724b87784854 SHA512: 5d690fdb53a0e2f9c0d9c536d037c199e4ea57a41849845c13724059129a895474f7cba4c9c071f3a1ec7aae81ad7560888a64525b24347eca1f2c7e15d0ff9b https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.14.zip SIZE: 26978726 SHA1: 146ace29d87719b3b108800b768abf0272cac813 SHA256: 0c6af18c3998f0133e6b1338c593eeb04c2a78466d9566c8425dc057f0bf5948 SHA512: e7d1bce838a25aa76b8b96dc4b9b943d6e343c302d3da8a93d341c47fa57c7a7b9ab277b1bea9240adc43c3f73c1aa29b2a9965637b87fd52265e4e1bb83757f Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by hsbt on 18 Nov 2026

## Ruby 4.0.10 Released

DevFeed: [Ruby 4.0.10 Released](<https://devfeed.tech/articles/ruby-4-0-10-released-142017.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/11/18/ruby-4-0-10-released/>)

Published: 2026-11-18T22:00:00Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [download](<https://devfeed.tech/tags/download.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security-advisories](<https://devfeed.tech/tags/security-advisories.md>), [security-fixes](<https://devfeed.tech/tags/security-fixes.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

Ruby 4.0.10 was released on 18 Nov 2026 with security fixes for multiple vulnerabilities involving Regexp and String case conversion, along with other bug fixes whose details are not included in the supplied text. Source archives are available in tar.gz, tar.xz, and zip formats, with size and checksum values provided for each.

### Source excerpt

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 details. Download https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.10.tar.gz SIZE: 23973483 SHA1: ce0edd32e23f4147573a842d24fd76c68164474a SHA256: b53eef3371fa5d3e3b74340edcd015f06d5d8853968d4e539a5264fce41ed9f1 SHA512: b5a1be1bdad01564a766f2f6f4ec2d7eed6fcbc52b8742640214e8c8272bf62e7144126a45de5271de3bb4855db7e10672af344690af8c168523f9e44d823f00 https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.10.tar.xz SIZE: 18133108 SHA1: 1e1eff5e147c2d74937f6c0c320d8ff6681bd61e SHA256: 1537f7a6003c436546ecab6b48b6e7725a9af2328f45a8af7f42f41c5df90ab8 SHA512: d3fdb00e08165526065ce84a4606cdcfb9fb04ad8cfb0b516a403382cfc25e1aeed9ee4a13abdff98ebfd7241eaf32303fd7c385ef63e58c17689da88b80d847 https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.10.zip SIZE: 29322047 SHA1: 71a76f0251969d8ab71cdad9a3954064ad2e851b SHA256: aaa2003c2dcb2bc18cbc8616c953884c6ccc551d6965d2e27bc6cf826ca3f9e0 SHA512: e00e60bd31aced35650cdecc6db80eaee53deaba22008066010b721433d50111e49fe31f1a90a90150fa38825a8411b0a37386e16ad93f417a780f41a7704de7 Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by k0kubun on 18 Nov 2026

## Ruby 3.3.13 Released

DevFeed: [Ruby 3.3.13 Released](<https://devfeed.tech/articles/ruby-3-3-13-released-96746.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/10/23/ruby-3-3-13-released/>)

Published: 2026-10-23T04:24:46Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>), [rubygems](<https://devfeed.tech/topics/rubygems.md>), [Maintainers](<https://devfeed.tech/topics/maintainers.md>)

Tags: [bug-reports](<https://devfeed.tech/tags/bug-reports.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [contributions](<https://devfeed.tech/tags/contributions.md>), [cve](<https://devfeed.tech/tags/cve.md>), [developers](<https://devfeed.tech/tags/developers.md>), [download](<https://devfeed.tech/tags/download.md>), [github](<https://devfeed.tech/tags/github.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [regexp](<https://devfeed.tech/tags/regexp.md>), [release](<https://devfeed.tech/tags/release.md>), [release-updates](<https://devfeed.tech/tags/release-updates.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security](<https://devfeed.tech/tags/security.md>), [security-advisories](<https://devfeed.tech/tags/security-advisories.md>), [security-fixes](<https://devfeed.tech/tags/security-fixes.md>)

### AI overview

Ruby 3.3.13 includes security fixes: it updates the default resolv gem to 0.3.2, addressing CVE-2026-80212 and CVE-2026-80213. Although Ruby 3.3 is in security maintenance, this release also makes an exception for Regexp compilation bug fixes related to four GitLab advisories: CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264. Source archives are provided in tar.gz, tar.xz and zip formats, with checksums listed.

### Source excerpt

Ruby 3.3.13 has been released. This release includes security fixes. Please check the topics below for details. Security advisories: CVE-2026-80212 and CVE-2026-80213 Regexp compilation fixes related to GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264 This release updates the default gem resolv to 0.3.2, which fixes CVE-2026-80212 and CVE-2026-80213. Ruby 3.3 is in the security maintenance phase. As an exception, this release also includes fixes for bugs in Regexp compilation that GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264 rely on. Please see the GitHub releases for further details. Download https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.13.tar.gz SIZE: 21497008 SHA1: e89379c35cd61b23c7fef6cff9c5bbece4e2c391 SHA256: 4cae72e971bd1cdb20ca87d299111182417c5276c162de8ead0ab0531426cd61 SHA512: 0536341f6f612a1eb0128f7d18eed081b09264c695e6a159a5456ba3050464849791ae26e33a7ea384406fa9e19b98bf194c89638dfe2940d3dbeed5b3126c92 https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.13.tar.xz SIZE: 15878972 SHA1: 61e8a88d601ca7a4e9f9c30428fa46be0fdf690d SHA256: 6bd764359992373a96556b45fb7dfe6b6170da34a0a2fd0b7e1be7932fea982b SHA512: 906e270e2629b44e469265e08d693f996b467a3fc165fbdb9b8f6f7b37effe4fdae9d4968e72a809d1381e35279cb10b6630d40fac31a634981deb4c30ff325c https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.13.zip SIZE: 26961541 SHA1: 4536403d0c1feaa6290fc7d94e65db4bc2b7f0ed SHA256: 8cf1c468af6dbcaa2c48270cc4c951325dabe5fd84b609641d4bd7b89c9d5766 SHA512: 622c8b60b2202aea1aa4caed00cee5984109926793ee57c86a9cc39b1628855f51a26d07258aa85aacc679c6186efc4ebf20b5a51f199de7cdd6fcc98a212d10 Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by hsbt on 23 Oct 2026

## Ruby 3.4.12 Released

DevFeed: [Ruby 3.4.12 Released](<https://devfeed.tech/articles/ruby-3-4-12-released-96747.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/10/23/ruby-3-4-12-released/>)

Published: 2026-10-23T03:50:27Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [regexp](<https://devfeed.tech/tags/regexp.md>), [release](<https://devfeed.tech/tags/release.md>), [ruby](<https://devfeed.tech/tags/ruby.md>)

### AI overview

Ruby 3.4.12 includes 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. The excerpt does not detail the bugs or fixes; it points readers to the GitHub release for further information. Source archives are offered in tar.gz, tar.xz, and zip formats with sizes and checksums listed.

### Source excerpt

Ruby 3.4.12 has been released. This release includes fixes for bugs in Regexp compilation that GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264 rely on. Please see the topic below for details. Regexp compilation fixes related to GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264 This release also includes other bugfixes. Please see the GitHub releases for further details. Download https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.12.tar.gz SIZE: 22498017 SHA1: 8ead0b008d7cdeb543282489e7574324ab62939f SHA256: 5e5d85ad93b0adcccbad47733680f4892bd0078e3342437f7babce01c1872479 SHA512: 7d4fcf4b57f94974091df406e159ccfd8460e75bd7593993d9d4172a8ad673388bb8505ddb41377014dce4df6d358e019d4fa4098b535aa705e790f65962f1cd https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.12.tar.xz SIZE: 16732860 SHA1: bf42a4909e1517a2fee26eebbd840bbef3181c61 SHA256: db6c147940d7ad0b706823d42c8e6713c36dec70a1f83f635f1d3a7f0599ec90 SHA512: 7866ed652921f9f0d601e1e323d29fddee3506cfd89e258cab7601786bffec8a17245468d517d246ecfa7fa9a982b73cfff0aaf6534444753e8b6add297bfbd3 https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.12.zip SIZE: 27719665 SHA1: c4381ce52fba1af02944cedb35eac569976bfdb8 SHA256: b1bec4f3a2b0c47f349a102b013f1c8f345b9991388e75368d1178ac4f9cfc0e SHA512: 21573c2ba656984c006c8f499f3498c5208eba17d862d93269221c1e7295ace4e5034a53b23931d6b9585c4fc98ecd9b1196b81c2b58543d83550ea60fdc014e Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by nagachika on 23 Oct 2026

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

DevFeed: [Regexp compilation fixes related to GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264](<https://devfeed.tech/articles/regexp-compilation-fixes-related-to-gitlab-s-cve-2026-89078-cve-2026-93577-cve-2026-97229-and-cve-2026-110264-96745.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/>)

Published: 2026-10-23T03:11:22Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Parser](<https://devfeed.tech/topics/parser.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compile](<https://devfeed.tech/tags/compile.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cve](<https://devfeed.tech/tags/cve.md>), [engine](<https://devfeed.tech/tags/engine.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [integer-overflow](<https://devfeed.tech/tags/integer-overflow.md>), [regexp](<https://devfeed.tech/tags/regexp.md>), [regular-expressions](<https://devfeed.tech/tags/regular-expressions.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [ruby](<https://devfeed.tech/tags/ruby.md>)

### AI overview

Ruby 4.0.9, 3.4.12 and 3.3.13 fix three Onigmo regular-expression compilation bugs associated with four CVEs GitLab identified after attacker-controlled patterns caused memory corruption and could enable remote code execution. The bugs include a parser double free, overflow in compiled-pattern size, and overflow of internal pattern IDs. They affect applications that compile attacker-controlled strings using APIs such as Regexp.new, Regexp.union or Regexp.compile, or interpolate them into regexp literals. Applications using only developer-written patterns are not affected. Regexp.timeout and pattern-length limits do not reliably protect against these issues. The recommended action is to upgrade to one of the patched releases or later; if upgrading is not possible, avoid compiling regexps from untrusted input. The article says Ruby has not yet requested CVE identifiers for its fixes and plans to discuss how Ruby should document and classify this risk.

### Source excerpt

We have released Ruby 4.0.9, 3.4.12 and 3.3.13. They fix several bugs in Ruby's regular expression engine (Onigmo) that GitLab found could be used for remote code execution on GitLab servers. GitLab published four CVEs for these issues, and the Ruby releases contain the fixes for the underlying bugs in Ruby. Background GitLab compiles regular expressions supplied by its users, such as patterns in CI configuration, with Regexp.new. GitLab found that specially crafted patterns could corrupt memory while Ruby compiles them, and that this could be turned into remote code execution on GitLab servers. GitLab addressed these issues in its own releases by patching the Ruby it ships, and assigned the following CVE identifiers: CVE-2026-89078: Double Free issue in Regular Expression Parser (GitLab 19.4.1) CVE-2026-93577: Integer Overflow issue in Regular Expression Compiler (GitLab 19.4.1) CVE-2026-97229: Integer Overflow issue in CI/CD Regular Expression Compiler (GitLab 19.4.2) CVE-2026-110264: Integer Overflow issue in Regular Expression Compiler (GitLab 19.5.1) Fixes in Ruby The following table shows the change in Ruby that fixes the bug behind each CVE, and the first release of each series that contains it. GitLab CVE Bug in Ruby Change Ruby 4.0 Ruby 3.4 Ruby 3.3 CVE-2026-89078 Double free when parsing a pattern fails after an alternation #13332 4.0.0 3.4.12 3.3.13 CVE-2026-93577, CVE-2026-97229 Integer overflow in the size of a compiled pattern #19020 4.0.8 3.4.12 3.3.13 CVE-2026-110264 Overflow of internal IDs in a pattern with many repeats #16801 4.0.9 3.4.12 3.3.13 Ruby 4.0.9, 3.4.12 and 3.3.13 contain all of these fixes. Who is affected These bugs are reached only when an application compiles a regular expression from a string that an attacker controls, for example by passing it to Regexp.new, Regexp.union or Regexp.compile, or by interpolating it into a regexp literal such as /#{input}/. Applications that only use regular expressions written by their own developers

## Ruby 4.0.9 Released

DevFeed: [Ruby 4.0.9 Released](<https://devfeed.tech/articles/ruby-4-0-9-released-96748.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/10/23/ruby-4-0-9-released/>)

Published: 2026-10-23T03:11:22Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bug](<https://devfeed.tech/tags/bug.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [cve](<https://devfeed.tech/tags/cve.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [regexp](<https://devfeed.tech/tags/regexp.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [sha256](<https://devfeed.tech/tags/sha256.md>), [size](<https://devfeed.tech/tags/size.md>), [thanks](<https://devfeed.tech/tags/thanks.md>)

### AI overview

Ruby 4.0.9 includes a fix for a bug in Regexp compilation that GitLab's CVE-2026-110264 relies on. The release text also points to related Regexp compilation fixes for CVE-2026-89078, CVE-2026-93577 and CVE-2026-97229, but provides no technical details about the bugs or fixes. Source archives are listed in tar.gz, tar.xz and zip formats with size and checksum values.

### Source excerpt

Ruby 4.0.9 has been released. This release includes a fix for a bug in Regexp compilation that GitLab's CVE-2026-110264 relies on. Please see the topic below for details. Regexp compilation fixes related to GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264 Please see the GitHub releases for further details. Download https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.9.tar.gz SIZE: 23946524 SHA1: 39f31360bc0c03bde9eec4177e443f6298481e2e SHA256: c35350682ff050b79702d57ade4516e7336063f510155d19fb2fb5b3f3909511 SHA512: 9adb0069a07ee1348a04b627d8af1c9f2b6537bdea5dce0b57423659626d9ae3cc04955eae7167014c56bd0f4c7c9d1aa0e4fcfc666eda738b1b0c35a3674114 https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.9.tar.xz SIZE: 17996144 SHA1: 630cf1e7a4c522f49a2fec383805627691500b54 SHA256: a8057adb39f51ad6dc3106237504c93dd792bb515837b4fe7817ae21ed7e51f4 SHA512: 7160b1c6fb61b0e369cddccb29eadae85390d86777c875efc18a56de390b1fe1ff47d6e37ccaf39d2ed477c9811f1224cbb3d2f54a0cbd5d5daf418b1cf2557e https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.9.zip SIZE: 29263242 SHA1: 9e2d496d0f3663918c3183b8671c7f4b78aa185e SHA256: 8242fbb2354cb71811cb2ff4d5e149b7a0ecb700e6c61a897710204ac36f866b SHA512: 29422739ea9b5189c24354f6c689f40485c4dc8945e735c38240094195a637dbc6807f4fe295a1579b27ca930e1eb6b2ad7fe1970dad38d0800e049863e8288b Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by k0kubun on 23 Oct 2026

## Ruby 4.0.8 Released

DevFeed: [Ruby 4.0.8 Released](<https://devfeed.tech/articles/ruby-4-0-8-released-95119.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/10/22/ruby-4-0-8-released/>)

Published: 2026-10-22T06:54:51Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [details](<https://devfeed.tech/tags/details.md>), [release](<https://devfeed.tech/tags/release.md>), [ruby](<https://devfeed.tech/tags/ruby.md>)

### AI overview

Ruby 4.0.8 is a routine update containing bug fixes; the supplied excerpt does not identify the fixes. It lists gzip, xz, and zip downloads with file sizes and SHA-1, SHA-256, and SHA-512 checksums. The release credits contributors who reported bugs and helped prepare it.

### Source excerpt

Ruby 4.0.8 has been released. This is a routine update that includes bugfixes. Please see the GitHub releases for further details. Download https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.8.tar.gz SIZE: 23947459 SHA1: f79bc8217dd0edd7ecc0c1c0cb57e64a906258a5 SHA256: 0968e2ac4cbd6f1fd85d3092aed66cd3c2d8ba4a5e2493d6e6c6cb0c431897d2 SHA512: 011b741c8fe3160643739f8fd88f3a69b198260dabcd3cb791c1ffacdfae7b48f6b2ca365ea97198d5dcb13fc839533ec1e83bab76f38c25203a7a3b6e665e8b https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.8.tar.xz SIZE: 18019152 SHA1: 24404aa1371a1f5a28bfcc8ac4331bd744810954 SHA256: 3bd35abc39dce9c682d62cf333fbd8b8f34816dd651f8228b3b59353157b84a4 SHA512: 79eb57f30a853d6e856ce2df35b8ff20c393d5cacad43420c5caba9ebba53445d1b7b40f0a65a1cd4eee6bfc86abc3eb722e1fa5bef10b41bf56779b566e894a https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.8.zip SIZE: 29263079 SHA1: 40c0e4f791563bc8a24d683547cb3fe08c01da4b SHA256: 68e12bb40c9175c2a97f371ff6a76dd93649bb09dc76d757394b7086c881ade4 SHA512: bee8b619c287530d10779d6527d5e7397b75b74d0abe57d9a12b8d8d0b303064ea6da3fe9a47d1fb9835abfe11701e64a767841658e209cb866ca44aa951ef33 Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by k0kubun on 22 Oct 2026

## Ruby 4.1.0-preview1 Released

DevFeed: [Ruby 4.1.0-preview1 Released](<https://devfeed.tech/articles/ruby-4-1-0-preview1-released-85598.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/10/12/ruby-4-1-0-preview1-released/>)

Published: 2026-10-12T00:00:00Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [experimental](<https://devfeed.tech/tags/experimental.md>), [release](<https://devfeed.tech/tags/release.md>), [ruby](<https://devfeed.tech/tags/ruby.md>)

### AI overview

Ruby 4.1.0-preview1 introduces per-Ractor garbage collection, Windows support for YJIT, autoload_relative, and numerous language, standard library, C API, and scheduler changes. The release also updates compatibility requirements and removes support for several older platforms.

### Source excerpt

We are pleased to announce the release of Ruby 4.1.0-preview1. Ruby 4.1 introduces Ractor local GC, Windows support of YJIT, autoload_relative, and adds many improvements. Ractor improvements A lot of work has gone into making Ractors more stable, performant, and usable. These improvements bring Ractor implementation closer to leaving experimental status. The default GC now runs per Ractor: each Ractor collects its own heap on its own thread without stopping the others, and a stop-the-world collection only runs when it is really needed (explicit full GC.start, shareable-object growth, reclaiming dead Ractors' heaps). Allocation-heavy Ractor programs now scale like forked processes. GC.start(global: false) can be used when multiple Ractors are running to force a Ractor-local GC. By default, GC.start runs a global GC (all Ractors) like before. This can also be triggered with GC.start(global: true). The global keyword argument has no effect when a single Ractor is running. Visible behavior changes: Ractor#value returns the value only once; a second call raises Ractor::Error. GC.disable/GC.enable act as per-Ractor holds on a process-wide switch: one Ractor's GC.enable no longer overrides another Ractor's GC.disable. ObjectSpace.each_object enumerates the calling Ractor's own objects plus other Ractors' shareable objects (ObjectSpace.dump_all still covers everything). ObjectSpace.define_finalizer on another Ractor's object raises Ractor::IsolationError. Ractor#monitor now sends an Array naming the Ractor and what happened to it, [ractor, :exited] or [ractor, :aborted], where it used to send the bare Symbol :exited or :aborted. Several Ractors can then report to one port and the receiver still knows which one finished. The Array is built for the receiving Ractor, so watching many Ractors leaves no shareable objects behind. r = Ractor.new { :ok } r.monitor(port = Ractor::Port.new) port.receive #=> [r, :exited] One port can therefore watch a whole group, which is all a supe

## Ruby 3.4.11 Released

DevFeed: [Ruby 3.4.11 Released](<https://devfeed.tech/articles/ruby-3-4-11-released-58461.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/09/23/ruby-3-4-11-released/>)

Published: 2026-09-23T06:10:50Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [developers](<https://devfeed.tech/tags/developers.md>), [download](<https://devfeed.tech/tags/download.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [sha256](<https://devfeed.tech/tags/sha256.md>), [users](<https://devfeed.tech/tags/users.md>), [xz](<https://devfeed.tech/tags/xz.md>), [zip](<https://devfeed.tech/tags/zip.md>)

### AI overview

Ruby 3.4.11 is a regular scheduled update release that includes bug fixes. The release provides tar.gz, tar.xz, and ZIP downloads with checksums.

### Source excerpt

Ruby 3.4.11 has been released. This is a regular scheduled update release includes bugfixes. Please see the GitHub releases for further details. Download https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.11.tar.gz SIZE: 22492449 SHA1: ed687c91e79b20a755666adbc290695accd49d79 SHA256: 5c22be44524312b3d433d68739bcc530633b1da5ef8ba0afa0a37680da17d3de SHA512: cb951af61fb237ddf3213f5efec893a50524216800359514baded26189a5aa1640cc83e344aedd001cc57c4479cfabcf20033be77c28401333f57f2ac13c6640 https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.11.tar.xz SIZE: 16712500 SHA1: c36b1142f3d45441edbe0bb9146ddda39b018065 SHA256: f79c6e789ce4f30f77c88a40b23b93e2547c512a843dc17db27ab1f5cc66f4e4 SHA512: 466952978880190ca8eae2709a42f4cb8983aa2fa329219ef1cbe309de549928d4f94078cd70b168b313833ed9b7f8bbbe3c21ef2e772a3d3bf0c68cab669d2a https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.11.zip SIZE: 27713229 SHA1: 240731e7c06ed6dd3d6050a5daddfd88128b3987 SHA256: 22cb310601079c3afd18c01f1395f5ce8ddd21a5ed62b1cdf265d7cfe9524a84 SHA512: 2ff161d2b68918e619ff9e3083ce62db21c23b20ebc376bc2eb8af37d53e597ac878fcf2ad0a598a5eece1e5a48827655fda4a15895bcf8bb4668678dd0b76f3 Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by nagachika on 23 Sep 2026

## Ruby 4.0.7 Released

DevFeed: [Ruby 4.0.7 Released](<https://devfeed.tech/articles/ruby-4-0-7-released-26578.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/09/15/ruby-4-0-7-released/>)

Published: 2026-09-15T00:25:58Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>), [bug](<https://devfeed.tech/topics/bug.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [contributions](<https://devfeed.tech/tags/contributions.md>), [download](<https://devfeed.tech/tags/download.md>), [release](<https://devfeed.tech/tags/release.md>), [release-schedule](<https://devfeed.tech/tags/release-schedule.md>), [releases](<https://devfeed.tech/tags/releases.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [sha256](<https://devfeed.tech/tags/sha256.md>), [xz](<https://devfeed.tech/tags/xz.md>), [zip](<https://devfeed.tech/tags/zip.md>)

### AI overview

Ruby 4.0.7 has been released as a routine update containing bugfixes. The article says Ruby 4.0.8 is planned for November, with earlier release possible if a significant user-impacting change arises.

### Source excerpt

Ruby 4.0.7 has been released. This is a routine update that includes bugfixes. Please see the GitHub releases for further details. Release Schedule We intend to release the latest stable Ruby version (currently Ruby 4.0) every two months following the most recent release. Ruby 4.0.8 will be released in November. If a change arises that significantly affects users, a release may occur earlier than planned. Download https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.7.tar.gz SIZE: 23937964 SHA1: 730d4f8cebb60a1f5b556e7b58d86d0301772558 SHA256: 911ace20f90d068ca0e4dda6d0e4f0f81e52e52f2dd4f4004c721e253412e82d SHA512: ca6fb2df4b39967f1a92399ab70579216f2a87e600d127a616d4a81a3c92b25ebf35849502a2c12e2251d69e67eade3888af4a41b8844054d5c774f07c237c6d https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.7.tar.xz SIZE: 17995980 SHA1: 7d2307f975b1fef4e0ffe5cfe13067f993b5a4c2 SHA256: 47ef59413f7a4587ba6a6b78b14036eb5e36eec2ec0b90964801e88d56a3d375 SHA512: d1d345c25bff43aa86f536b22cd04746a7d3372077bf47ec75ef1820c0b43d0dbe3573dd5e5c55ee517796f46f0cdbd22c7506aebd06581241eefb5ffd9d2e5f https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.7.zip SIZE: 29248954 SHA1: 82b1bce8abb650e3080b96a0beff810b690dafa4 SHA256: c6f889c6dccd2625ae8d595bdee8e92afb3ddae3a1669bad67bb9f24d6af30ab SHA512: 5456ee1260921589cad5f0c57e84715e9c26b1f438a4c141157093c8e37e7e5d499a96c0ed35641f3cea1b741ecda2d72bfa3ce79fdbd5491784d9e6d181ac09 Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by k0kubun on 15 Sep 2026

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

DevFeed: [Security advisories: CVE-2026-80212 and CVE-2026-80213](<https://devfeed.tech/articles/security-advisories-cve-2026-80212-and-cve-2026-80213-19157.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/08/27/multiple-vulnerabilities-in-resolv/>)

Published: 2026-08-27T00:00:00Z

Content type: news

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Domain Name System (DNS)](<https://devfeed.tech/topics/dns-resolution-process.md>), [code security](<https://devfeed.tech/topics/code-security.md>), [cve remediation](<https://devfeed.tech/topics/cve-remediation.md>), [version](<https://devfeed.tech/topics/version.md>)

Tags: [bypass](<https://devfeed.tech/tags/bypass.md>), [cve](<https://devfeed.tech/tags/cve.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dns](<https://devfeed.tech/tags/dns.md>), [library](<https://devfeed.tech/tags/library.md>), [memory](<https://devfeed.tech/tags/memory.md>), [operating-system](<https://devfeed.tech/tags/operating-system.md>), [out-of-memory](<https://devfeed.tech/tags/out-of-memory.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security](<https://devfeed.tech/tags/security.md>), [security-advisories](<https://devfeed.tech/tags/security-advisories.md>), [socket](<https://devfeed.tech/tags/socket.md>), [ssrf](<https://devfeed.tech/tags/ssrf.md>), [update](<https://devfeed.tech/tags/update.md>), [url](<https://devfeed.tech/tags/url.md>), [validation](<https://devfeed.tech/tags/validation.md>), [webhook](<https://devfeed.tech/tags/webhook.md>)

### AI overview

Two vulnerabilities affect Ruby's bundled `resolv` gem: CVE-2026-80212 can cause unbounded memory growth from attacker-controlled DNS responses, and CVE-2026-80213 can bypass hostname checks when an overlong hostname is resolved. The bypass does not affect validation that rejects names over 255 octets or labels over 63 octets. Exposure requires name resolution through `resolv`; ordinary socket connections using the OS resolver are not affected, and Net::HTTP loading the gem alone does not indicate exposure. Check application code and dependencies for `Resolv` use or `resolv-replace`. Upgrade to `resolv` 0.7.2, or 0.3.2 for Ruby 3.3. Ruby 3.2's bundled 0.2.x line has no planned release; install 0.7.2 instead.

### Source excerpt

Two vulnerabilities have been discovered in the resolv gem bundled with Ruby. They have been assigned the CVE identifiers CVE-2026-80212 and CVE-2026-80213. We recommend upgrading the resolv gem. CVE-2026-80212: Memory exhaustion through malicious DNS responses An application that resolves a hostname an attacker can influence, such as a webhook target or a user-supplied URL, can be made to consume memory without bound. The attacker points a domain at a name server they control and returns responses that the library retains permanently. Repeated lookups grow the process until it runs out of memory and the service stops. CVE-2026-80213: Hostname validation bypass An application that checks a hostname against an allow list or an SSRF filter and then resolves it can be made to look up a domain other than the one it checked. The string that passes validation and the name that reaches the network are not the same, so the connection can end up at a host the application never approved. This requires a hostname that exceeds the DNS length limits, so validation that rejects names longer than 255 octets, or labels longer than 63 octets, is not affected. Affected versions resolv gem 0.4.0 through 0.7.1 resolv gem 0.3.1 and earlier The version bundled with Ruby differs per series: Ruby 4.0 ships resolv 0.7.0, Ruby 3.4 ships 0.7.1, and Ruby 3.3 ships 0.3.1. What to check Only code that resolves names through this gem is affected. Ordinary socket connections, including Net::HTTP and anything built on TCPSocket, use the operating system resolver and are not. Net::HTTP does load the gem, but only for its IP address regular expressions, so a loaded gem is not by itself a sign of exposure. An application reaches the affected code by calling Resolv itself, by loading resolv-replace, which routes all socket name resolution through the gem, or through a dependency that resolves names this way. Check your dependencies as well as your own code. Recommended action Update the resolv gem to 0

## Ruby 3.3.12 Released

DevFeed: [Ruby 3.3.12 Released](<https://devfeed.tech/articles/ruby-3-3-12-released-19156.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/07/16/ruby-3-3-12-released/>)

Published: 2026-07-16T05:08:11Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>), [Release notes](<https://devfeed.tech/topics/release-notes.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [cve](<https://devfeed.tech/tags/cve.md>), [download](<https://devfeed.tech/tags/download.md>), [release](<https://devfeed.tech/tags/release.md>), [release-notes](<https://devfeed.tech/tags/release-notes.md>), [releases](<https://devfeed.tech/tags/releases.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

Ruby 3.3.12 has been released with security fixes. The update includes erb 4.0.3.1 and net-imap 0.4.25, which fixes multiple listed CVEs, including CVE-2026-42245, CVE-2026-42246, CVE-2026-42256, CVE-2026-42257, CVE-2026-42258, CVE-2026-47240, CVE-2026-47241, and CVE-2026-47242.

### Source excerpt

Ruby 3.3.12 has been released. This release includes security fixes. Please check the topics below for details. CVE-2026-41316: ERB @_init deserialization guard bypass via def_module / def_method / def_class This release updates the default gem erb to 4.0.3.1 and the bundled gem net-imap to 0.4.25. The net-imap update fixes CVE-2026-42245, CVE-2026-42246, CVE-2026-42256, CVE-2026-42257, CVE-2026-42258, CVE-2026-47240, CVE-2026-47241 and CVE-2026-47242. Please see the release notes of net-imap v0.4.24 and net-imap v0.4.25 for the details of these fixes. Please see the GitHub releases for further details. Download https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.12.tar.gz SIZE: 21489887 SHA1: 1ecad817a7d3727db65cf898a51d9956888cee5b SHA256: b06d63beae271933033e27f0a389bc582a009e7845357d44365c39de525a051b SHA512: 7c620438e85beb6744acc7d1e917af554238739883d592aa9839fca78514c11e91dfd8c4b5ce611d1ea507a4412ed81f3a8b5fc6eb07ba3e392a77b518de6829 https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.12.tar.xz SIZE: 15891224 SHA1: 7df70ae8a9feb880e2ad5054dfebd712ba03d0eb SHA256: 873e3297990b8cff7a5436f6e510a3a7a18c74e5f2c794e4162e605fe0a743b3 SHA512: 1755901f5d1e66250e4f9f4e3a0bf31ec25055f1cb86fafc68281f6d108e9cf5329a6c74c221b1a31aa7de78e9c2d8aa7b76faf39acfce44c5ed94cf7e766f3f https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.12.zip SIZE: 26954647 SHA1: 8be5a3c6f4a8821ce5326a9e09d4230c9fa06faa SHA256: fc1aecfb45adeb7bebbf9549d45ce6e57f0c9dac8b83cdeb80680de02a83ce41 SHA512: ff5a0339310c464b88a444871f901f41fc735f77668b29dfc70389aae5d44fd90b55cff6c02d47a23596663525b526a86f9906c08c371d37e3fb105ea9c6b1a9 Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by hsbt on 16 Jul 2026

## Ruby 4.0.6 Released

DevFeed: [Ruby 4.0.6 Released](<https://devfeed.tech/articles/ruby-4-0-6-released-19155.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/07/14/ruby-4-0-6-released/>)

Published: 2026-07-14T01:41:20Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bug-reports](<https://devfeed.tech/tags/bug-reports.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [contributions](<https://devfeed.tech/tags/contributions.md>), [github](<https://devfeed.tech/tags/github.md>), [release-schedule](<https://devfeed.tech/tags/release-schedule.md>), [routine](<https://devfeed.tech/tags/routine.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [stable](<https://devfeed.tech/tags/stable.md>)

### AI overview

Ruby 4.0.6 is a routine bugfix release. The project plans to release the latest stable Ruby 4.0 version every two months: Ruby 4.0.7 is scheduled for September and 4.0.8 for November, though significant changes affecting users may prompt an earlier release and shift the schedule. Source archives are offered in tar.gz, tar.xz, and zip formats with checksums provided. The supplied text does not specify the individual bug fixes.

### Source excerpt

Ruby 4.0.6 has been released. This is a routine update that includes bugfixes. Please see the GitHub releases for further details. Release Schedule We intend to release the latest stable Ruby version (currently Ruby 4.0) every two months following the most recent release. Ruby 4.0.7 will be released in September, and 4.0.8 in November. If a change arises that significantly affects users, a release may occur earlier than planned, and the subsequent schedule may shift accordingly. Download https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.6.tar.gz SIZE: 23904779 SHA1: bd2b5a5bdf0ac9947eab242f418bef10c8851712 SHA256: 837d299e8f7ddf2be31a229a7a7e019d354979825117989acb3b32b1a9be262a SHA512: 0c050ac9b806facb1e1ec1f6a8def7fc33cf1ccfb57a502b1fc467e76e534e7eaf60297fb08e35e89c8727510903f48c73ccc8f9888a017cd6032379e84ed83e https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.6.tar.xz SIZE: 17968092 SHA1: 1b55f5159fec2bfa08147fc91d23643ab176c009 SHA256: 9c9d121fe3314ea7c801e690b9de981d2b9d12d7849db99c27482468a541ba0a SHA512: c9c391675a098b5a27dd687571ab0a164c788cbb8ddcbab6d17a3e8b3c4ba389346b2e6d7807d38db3e74d225c70e378a296d60d0f465cb0fcec9702242c83c6 https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.6.zip SIZE: 29211551 SHA1: 27609f5815902a5b4dd54d5c8ee798acd90e4efe SHA256: f0f7b0ee34882ab797fc6a88262d19f5783e87f7b984dbc133cfd09c24eefcb6 SHA512: 3a0b87cf6934ec02d84bd5cf9e299904daf3de4625c0fc58781273abb7e0ae1497fc208c82d48fa6203643612c195c5267baa470e517cee179dca82e67104742 Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by k0kubun on 14 Jul 2026

## Ruby 3.4.10 Released

DevFeed: [Ruby 3.4.10 Released](<https://devfeed.tech/articles/ruby-3-4-10-released-19154.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/06/30/ruby-3-4-10-released/>)

Published: 2026-06-30T12:00:00Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>), [rubygems](<https://devfeed.tech/topics/rubygems.md>), [snyk-security-intel](<https://devfeed.tech/topics/snyk-security-intel.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bug-reports](<https://devfeed.tech/tags/bug-reports.md>), [contributions](<https://devfeed.tech/tags/contributions.md>), [developers](<https://devfeed.tech/tags/developers.md>), [download](<https://devfeed.tech/tags/download.md>), [github](<https://devfeed.tech/tags/github.md>), [imap](<https://devfeed.tech/tags/imap.md>), [package](<https://devfeed.tech/tags/package.md>), [regular](<https://devfeed.tech/tags/regular.md>), [releases](<https://devfeed.tech/tags/releases.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security](<https://devfeed.tech/tags/security.md>), [security-fixes](<https://devfeed.tech/tags/security-fixes.md>), [stable](<https://devfeed.tech/tags/stable.md>), [thanks](<https://devfeed.tech/tags/thanks.md>), [update](<https://devfeed.tech/tags/update.md>), [users](<https://devfeed.tech/tags/users.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Ruby 3.4.10 is a regular stable package release that updates the bundled net-imap gem to a version containing security fixes. The source points to the net-imap v0.5.15 release notes for details; it does not specify the fixes. Tar.gz, tar.xz, and ZIP downloads are listed with checksums.

### Source excerpt

Ruby 3.4.10 has been released. This release is a regular stable package release contains the version update of bundled gem net-imap. The net-imap.gem update contains some security fixes. Please see the release note of net-imap v0.5.15 for the detailed update of net-imap.gem. Please see the GitHub releases for further details. Download https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.10.tar.gz SIZE: 22476870 SHA1: 5eac73bce00e770e19b50b69032578df9b2bb41c SHA256: ecee2d072a14f2d14347dd56dfd8fe5c3130abf5117bfaacbda0f4ef9cc429ec SHA512: 493c9be80a78a4ddf983620295c79ae9f1c8e4c60da8237e12965fa6f95dda6548b3ff3cd311fe774cc8237e18ad2b2514dd029c46c8f4eabea6613a39d7745b https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.10.tar.xz SIZE: 16709188 SHA1: 8655291cc2e7547d10db5e81f9baac8cdbbbf702 SHA256: 6f32ad662baafc228d12030dbcd284f83b034dd4337b300dc84ac74d11a1eb68 SHA512: c28d59946c0a1b8e4385a772e0651c6f4154c18ab8a2a62289c3213eb4fe937cec0942e0076cda429576e58ad277b18f4b5611e644d15b122c1cd96baf10f284 https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.10.zip SIZE: 27697773 SHA1: 09dd69e25c393071bd0550da5f4983ee4d9550a3 SHA256: 3b18a22a2ea1bed8df645b1568ba13eb659baeed3a2a1a7f67a21ca604e68a13 SHA512: 1516ee66d878480b8d7164a002d3087268a79c380ba4807172b26260644f39bac4b7f781b62a815e46bc1107edf578f6cf4eae9aebc8fe86416978e737865278 Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by nagachika on 30 Jun 2026

## Ruby 4.0.5 Released

DevFeed: [Ruby 4.0.5 Released](<https://devfeed.tech/articles/ruby-4-0-5-released-19153.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/05/20/ruby-4-0-5-released/>)

Published: 2026-05-20T00:12:20Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bug](<https://devfeed.tech/tags/bug.md>), [build](<https://devfeed.tech/tags/build.md>), [cve](<https://devfeed.tech/tags/cve.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

Ruby 4.0.5 has been released with a security fix for CVE-2026-46727, addressing a use-after-free in the pthread-based getaddrinfo timeout handler, along with a build system regression in Ruby 4.0.4 under the C locale.

### Source excerpt

Ruby 4.0.5 has been released. This release only contains a security fix for CVE-2026-46727: Use-after-free in pthread-based getaddrinfo timeout handler and a build system regression in Ruby 4.0.4 under C locale [Bug #22065]. Please see the GitHub releases for further details. Release Schedule We intend to release the latest stable Ruby version (currently Ruby 4.0) every two months following the most recent regular release. Ruby 4.0.6 will be released in July, 4.0.7 in September, and 4.0.8 in November. If a change arises that significantly affects users, a release may occur earlier than planned, and the subsequent schedule may shift accordingly. Download https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.5.tar.gz SIZE: 23818557 SHA1: efa77332e323c15a86e1a25a3ae53bd21972672c SHA256: 7d6149079a63f8ae1d326c9fa65c6019ba2dc3155eae7b39159817911c88958e SHA512: ce50c8dda1479f5a84771df37cdb23f0183bba900494e7492bb90d4b0a3e60ff28b799f3c469977f5f7c1335a6c1f3400a9ca52cd4acfcbed08f016d352943f4 https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.5.tar.xz SIZE: 17893756 SHA1: 58216f1858feed4e2dbd2719a0a7ae807563b428 SHA256: 5dc5521ea54c726e6cc10b1b5a0f4004b27b482e61c04c99aed79315e30895e5 SHA512: 379d78a6d1af0455df60da46551f43438ad3ee81f83787554fc34cb1c8febb1bd363e3dc1a057b34a69f96526efc308d3dccc4b87d368897c2d1ccf179096463 https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.5.zip SIZE: 29122529 SHA1: cda48124428ae33497f191bb676c8022615ab91e SHA256: 605f8b22e12f5cfc3f4a48850a7fe7dc9b010002d2c994d7508f38c63d2c0ff8 SHA512: c4faaefa386bb33dc4cb3994d740b0c8b4756726351df6cc0850dbd2598f3ba51dcfb38bd61d91f63adf3612bb5f6dbd727446caf9af78f5df36e7d31ecf113a Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by k0kubun on 20 May 2026

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

DevFeed: [CVE-2026-46727: Use-after-free in pthread-based getaddrinfo timeout handler](<https://devfeed.tech/articles/cve-2026-46727-use-after-free-in-pthread-based-getaddrinfo-timeout-handler-19152.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/05/20/getaddrinfo-cve-2026-46727/>)

Published: 2026-05-20T00:00:00Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [cve remediation](<https://devfeed.tech/topics/cve-remediation.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [crash](<https://devfeed.tech/tags/crash.md>), [cve](<https://devfeed.tech/tags/cve.md>), [delay](<https://devfeed.tech/tags/delay.md>), [dns](<https://devfeed.tech/tags/dns.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [memory](<https://devfeed.tech/tags/memory.md>), [race-condition](<https://devfeed.tech/tags/race-condition.md>), [remote](<https://devfeed.tech/tags/remote.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security](<https://devfeed.tech/tags/security.md>), [socket](<https://devfeed.tech/tags/socket.md>), [tcp](<https://devfeed.tech/tags/tcp.md>), [timeout](<https://devfeed.tech/tags/timeout.md>), [update](<https://devfeed.tech/tags/update.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [utc](<https://devfeed.tech/tags/utc.md>), [workaround](<https://devfeed.tech/tags/workaround.md>)

### AI overview

A race in Ruby's pthread-based getaddrinfo timeout cancellation can cause a use-after-free and crash when a remote attacker delays DNS responses near the timeout. It affects Ruby 4.0.0-4.0.4 and Ruby 4.1.0-dev before the fix; Ruby 3.4 and earlier are stated to be unaffected. Upgrade to Ruby 4.0.5 or later. Until then, avoid the timeout: option in Addrinfo.getaddrinfo and resolv_timeout: in Socket.tcp. The supplied text is excerpted and omits some API names in its details, which are given in the source summary.

### Source excerpt

A use-after-free vulnerability has been discovered in the pthread-based getaddrinfo timeout handler of Ruby. This vulnerability has been assigned the CVE identifier CVE-2026-46727. This issue has been fixed in Ruby 4.0.5. We recommend upgrading Ruby. Details A race condition exists in the timeout cancellation path of rb_getaddrinfo used by Addrinfo.getaddrinfo(..., timeout:) and Socket.tcp(..., resolv_timeout:). A remote attacker who can delay DNS responses near the specified timeout may cause the Ruby process to dereference freed memory and crash. Recommended action Please update to Ruby 4.0.5 or later. Workaround If you cannot upgrade immediately, avoid passing timeout: to Addrinfo.getaddrinfo and resolv_timeout: to Socket.tcp. Affected versions Ruby 4.0.0 through 4.0.4 Ruby 4.1.0-dev (master) before the fix Ruby 3.4 series and earlier are not affected. Credits Thanks to cantina-security for discovering this issue. Also thanks to shioimm for creating the patch. History Originally published at 2026-05-20 00:00:00 (UTC) Posted by hsbt on 20 May 2026

## Ruby 4.0.4 Released

DevFeed: [Ruby 4.0.4 Released](<https://devfeed.tech/articles/ruby-4-0-4-released-19151.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/05/11/ruby-4-0-4-released/>)

Published: 2026-05-11T21:41:38Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [release-schedule](<https://devfeed.tech/tags/release-schedule.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [thanks](<https://devfeed.tech/tags/thanks.md>)

### AI overview

Ruby 4.0.4 is a routine update containing bug fixes; the supplied text does not enumerate them and points readers to GitHub Releases for details. The stated plan is to release Ruby 4.0 updates every two months: 4.0.5 in July, 4.0.6 in September, and 4.0.7 in November. A significant user-impacting change could prompt an earlier release and shift the schedule.

### Source excerpt

Ruby 4.0.4 has been released. This is a routine update that includes bugfixes. Please see the GitHub Releases for further details. Release Schedule We intend to release the latest stable Ruby version (currently Ruby 4.0) every two months following the most recent regular release. Ruby 4.0.5 will be released in July, 4.0.6 in September, and 4.0.7 in November. If a change arises that significantly affects users, a release may occur earlier than planned, and the subsequent schedule may shift accordingly. Download https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.4.tar.gz SIZE: 23816838 SHA1: 3633db75e6b4848b509ecccc64704d8f4467f068 SHA256: f35f6edfa3dabb3f723f9d0cf1906c6512ae77f4e412ab1e68cc6e91d230fa80 SHA512: b0cc9af75ee25628483a32ecd5ea6477d637ee3c75795f411bc4ebde7d86ab754fddf96385cfc5955b9dbd016418cbd7178c82dad7876b2b7119238f5159ed3a https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.4.tar.xz SIZE: 17899740 SHA1: 9e070a8a78e6faa35382360b47526042657b236d SHA256: 6ff9d2d6e75f5a6f997222ecc45f79209d663737eceb3689d1f42ab952673fb7 SHA512: cccc041379fd4e46a736a5c10ccf81627766a7175113c34754797b915bebcd0ce821d9cd7b42cc616b0a1f9ee38eee5ab7560c1840fa6672819c293e498a3f6f https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.4.zip SIZE: 29122429 SHA1: 5edc7ce0adc2851a355673a5bb42b75efd4cf2b2 SHA256: 508bc83baed022c20671d69dd264e6783d61b89767b5d387c0f8efea00b62219 SHA512: b5db7ba616c56bdac9a61362d88d6350c8a8b59b5d812c1395476db73cb60fb403994e0bc3285aa2f57acbef3e30bcfce4bee4c5c8433b39d8f0a7c6dbb9bd29 Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by k0kubun on 11 May 2026

## Ruby 4.0.3 Released

DevFeed: [Ruby 4.0.3 Released](<https://devfeed.tech/articles/ruby-4-0-3-released-19150.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/04/21/ruby-4-0-3-released/>)

Published: 2026-04-21T08:45:44Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>)

Tags: [release-schedule](<https://devfeed.tech/tags/release-schedule.md>), [ruby](<https://devfeed.tech/tags/ruby.md>)

### AI overview

Ruby 4.0.3 contains ERB 6.0.1.1, which fixes CVE-2026-41316. Applications that call Marshal.load on untrusted data while both erb and activesupport are loaded should update ERB to 4.0.3.1, 4.0.4.1, 6.0.1.1, 6.0.4, or later; Ruby 4.0.3 can be used to obtain the update. The stated plan is to release Ruby 4.0 point versions every two months, subject to earlier releases for significant changes.

### Source excerpt

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 this Ruby 4.0.3 release to do so. Release Schedule We intend to release the latest stable Ruby version (currently Ruby 4.0) every two months following the most recent regular release. Ruby 4.0.4 will be released in May, 4.0.5 in July, 4.0.6 in September, and 4.0.7 in November. If a change arises that significantly affects users, a release may occur earlier than planned, and the subsequent schedule may shift accordingly. Download https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.3.tar.gz SIZE: 23806898 SHA1: 619db0f25713a8f007d5889ae6e66ba0d31118e8 SHA256: 77964acc370d5c8375b9502e5ba6c13c03ef91ab9eb9f521c84fb42b9c9a6b0f SHA512: 6fd12620869a9a36fa2e1cce302de42f429ab9e9fae1fe3b0901ca1a1b3a606a83feed87f4b76935beb715e8a750cf718f88afef2de4e866ad574b33abb12dbe https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.3.tar.xz SIZE: 17878572 SHA1: faf1f3df171d2160116d190ca32b6b00e0338bfa SHA256: 22cf6005d25bbe496b5ebe9224d63a1aaabfbfe02591bb5d612517c5a7836f29 SHA512: 5816fb264ce76df59f4bfe0cadceb45025fada2e61f2c14024d6b03f63d304820cddf94afcf82a4951fd12f3b0d9148683f856f3f2245d56042fc8407b6cbff5 https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.3.zip SIZE: 29109899 SHA1: d19d91723d7a19a34b860eee8544093f64c9d92f SHA256: a80f1a3162950cfc1ef70f066132005efbb817f7ab6f16dcc244e5f015aabbc2 SHA512: 48b18fc578b5d7cd362a549ff5091c749d0460122f5dc3701fd6dada8016253fe0e85c498e20943e1a7f360b1e9fd073939da00df4b0c8a1afdddc16c43e43bc Release Comment Many committers, developers, and users who provided bug reports helped us make this release. Thanks for their contributions. Posted by k0kubun on 21 Apr 2026

## CVE-2026-41316: ERB @\_init deserialization guard bypass via def\_module / def\_method / def\_class

DevFeed: [CVE-2026-41316: ERB @\_init deserialization guard bypass via def\_module / def\_method / def\_class](<https://devfeed.tech/articles/cve-2026-41316-erb-init-deserialization-guard-bypass-via-def-module-def-method-def-class-19149.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/04/21/erb-cve-2026-41316/>)

Published: 2026-04-21T07:51:00Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Data serialization](<https://devfeed.tech/topics/data-serialization.md>), [Ruby on Rails](<https://devfeed.tech/topics/ruby-on-rails.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bypass](<https://devfeed.tech/tags/bypass.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [cve](<https://devfeed.tech/tags/cve.md>), [module](<https://devfeed.tech/tags/module.md>), [rails](<https://devfeed.tech/tags/rails.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [ruby-on-rails](<https://devfeed.tech/tags/ruby-on-rails.md>), [security](<https://devfeed.tech/tags/security.md>), [security-advisory](<https://devfeed.tech/tags/security-advisory.md>), [serialization](<https://devfeed.tech/tags/serialization.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

CVE-2026-41316 affects ERB gem versions 6.0.3 and lower. Ruby applications that load both ERB and ActiveSupport and call Marshal.load on untrusted data are exposed to arbitrary code execution, including Rails apps and Ruby tools using Marshal for caching, imports, or IPC, and pre-7.0 Rails apps using Marshal cookie sessions. ERB's @_init guard protects objects reconstructed through Marshal.load, but def_method, def_module, and def_class evaluate template source without checking the guard. Because def_module takes no arguments, it can be used readily in a deserialization gadget chain. The advisory recommends upgrading erb to 4.0.3.1, 4.0.4.1, 6.0.1.1, 6.0.4, or later.

### Source excerpt

We published security advisory for CVE-2026-41316. CVE-2026-41316: ERB @_init deserialization guard bypass via def_module / def_method / def_class A deserialization vulnerability exists in ERB. This vulnerability has been assigned the CVE identifier CVE-2026-41316. We recommend upgrading the erb gem. Scope Any Ruby application that calls Marshal.load on untrusted data AND has both erb and activesupport loaded is vulnerable to arbitrary code execution. This includes: Ruby on Rails applications that import untrusted serialized data - any Rails app (every Rails app loads both ActiveSupport and ERB) using Marshal.load for caching, data import, or IPC Ruby tools that import untrusted serialized data - any tool using Marshal.load for caching, data import, or IPC Legacy Rails apps (pre-7.0) that still use Marshal for cookie session serialization Details ERB implements an @_init guard to prevent code execution when ERB objects are reconstructed via Marshal.load on untrusted data. However, ERB#def_method, ERB#def_module, and ERB#def_class evaluate the template source without checking this guard, allowing an attacker who controls the data passed to Marshal.load to bypass the protection and execute arbitrary code. In particular, def_module takes no arguments, making it straightforward to invoke as part of a deserialization gadget chain. Please update the erb gem to version 4.0.3.1, 4.0.4.1, 6.0.1.1, 6.0.4 or later. Affected versions erb gem 6.0.3 or lower Credits Thanks to TristanInSec for discovering this issue. History Originally published at 2026-04-21 07:51:00 (UTC) Posted by k0kubun on 21 Apr 2026

## Ruby 3.2.11 Released

DevFeed: [Ruby 3.2.11 Released](<https://devfeed.tech/articles/ruby-3-2-11-released-19148.md>)

Original publisher: [Read original article](<https://www.ruby-lang.org/en/news/2026/03/27/ruby-3-2-11-released/>)

Published: 2026-03-27T00:00:00Z

Content type: release

Language: en

Sources: [Ruby-lang](<https://devfeed.tech/sources/ruby-lang.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [releases](<https://devfeed.tech/topics/releases.md>), [Security](<https://devfeed.tech/topics/security.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Zip](<https://devfeed.tech/topics/zip.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [cve](<https://devfeed.tech/tags/cve.md>), [download](<https://devfeed.tech/tags/download.md>), [github](<https://devfeed.tech/tags/github.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [security](<https://devfeed.tech/tags/security.md>), [sha256](<https://devfeed.tech/tags/sha256.md>), [zip](<https://devfeed.tech/tags/zip.md>)

### AI overview

Ruby 3.2.11 has been released with an update to the zlib gem addressing CVE-2026-27820. It is the final Ruby 3.2 release, with no further updates or security fixes planned for the series; users are recommended to upgrade to Ruby 3.4 or 4.0.

### Source excerpt

Ruby 3.2.11 has been released. This release includes an update to the zlib gem addressing CVE-2026-27820. Please see the GitHub releases for further details. This is the final release of the Ruby 3.2 series. We will not provide any further updates, including security fixes, for the Ruby 3.2 series. We recommend upgrading to Ruby 3.4 or 4.0. Download https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.11.tar.gz SIZE: 19984344 SHA1: 9534a3aa08d2ccb4d3c50b1301b2da9a9b91c4ab SHA256: b3eeabd6636f334531db3ffdc3229eb05e524740e6c84fdc043720573cf2f8b2 SHA512: 95896bbf519604da0dc3d82066ac92c3f661b2ee9ffd8e2c9effce4773677445f1dcc43b05539050024b57f4f94f43984a734a03015ac6e29679e79d5a093a67 https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.11.tar.xz SIZE: 14695828 SHA1: 501cecc15ba079087967888ae455d62e5886fbc1 SHA256: c13aec0c206725d5d356acbae6e5fd8bffd92dc325aec14fd5dd7795d4b763d2 SHA512: 418739d476d34e2467e7f1ee60ff63a1969a362b49871bdc488676c1ac7d28b198deee85e2bd951a23f5b0e8425bc89ca59d5c8cb8415fa5ed835555e3d3af8d https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.11.zip SIZE: 24594356 SHA1: 7e84c9433f32a758da123d3b5532cc632d19d503 SHA256: 08ab90aa4ada9268e96aa47fb6c3a77fdb3b2f792f2671053e3b55a6141618ce SHA512: 133d63cd9bb7c9fe38eecd18c996013de0a56fef09c89c42f4fc9c383f09ab4ab3b0b31edbadd1fd1aaa797fbb9c86128ded51c6e5263cd3225754e714b3d195 Release Comment Since the initial release of Ruby 3.2.0 on December 25, 2022, the Ruby 3.2 series has been supported for over three years. We would like to thank all committers, developers, and users who provided bug reports and contributions throughout the life of the Ruby 3.2 series. Posted by hsbt on 27 Mar 2026