Summary
[3.0.7-166]
- Fix arbitrary code execution via deserialization bypass in ERB. (CVE-2026-41316)
Resolves: RHEL-171254
Fixed packages 22
| Release | Package | Fixed in |
|---|---|---|
| Oracle Linux · 9 | ruby | 0:3.0.7-166.el9_7 |
| Oracle Linux · 9 | ruby-default-gems | 0:3.0.7-166.el9_7 |
| Oracle Linux · 9 | ruby-devel | 0:3.0.7-166.el9_7 |
| Oracle Linux · 9 | ruby-doc | 0:3.0.7-166.el9_7 |
| Oracle Linux · 9 | ruby-libs | 0:3.0.7-166.el9_7 |
| Oracle Linux · 9 | rubygem-bigdecimal | 0:3.0.0-166.el9_7 |
| Oracle Linux · 9 | rubygem-bundler | 0:2.2.33-166.el9_7 |
| Oracle Linux · 9 | rubygem-io-console | 0:0.5.7-166.el9_7 |
| Oracle Linux · 9 | rubygem-irb | 0:1.3.5-166.el9_7 |
| Oracle Linux · 9 | rubygem-json | 0:2.5.1-166.el9_7 |
| Oracle Linux · 9 | rubygem-minitest | 0:5.14.2-166.el9_7 |
| Oracle Linux · 9 | rubygem-power_assert | 0:1.2.1-166.el9_7 |
| Oracle Linux · 9 | rubygem-psych | 0:3.3.2-166.el9_7 |
| Oracle Linux · 9 | rubygem-rake | 0:13.0.3-166.el9_7 |
| Oracle Linux · 9 | rubygem-rbs | 0:1.4.0-166.el9_7 |
| Oracle Linux · 9 | rubygem-rdoc | 0:6.3.4.1-166.el9_7 |
| Oracle Linux · 9 | rubygem-rexml | 0:3.2.5-166.el9_7 |
| Oracle Linux · 9 | rubygem-rss | 0:0.2.9-166.el9_7 |
| Oracle Linux · 9 | rubygem-test-unit | 0:3.3.7-166.el9_7 |
| Oracle Linux · 9 | rubygem-typeprof | 0:0.15.2-166.el9_7 |
| Oracle Linux · 9 | rubygems | 0:3.2.33-166.el9_7 |
| Oracle Linux · 9 | rubygems-devel | 0:3.2.33-166.el9_7 |
Vulnerabilities 1
-
High 8.1
ERB has an @_init deserialization guard bypass via def_module / def_method / def_class
ERB is a templating system for Ruby. Ruby 2.7.0 (before ERB 2.2.0 was published on rubygems.org) introduced an `@_init` instance variable guard in `ERB#result` and `ERB#run` to prevent code execution when an ERB object is reconstructed via `Marshal.load` (des…