Summary
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/json: Ruby JSON: Denial of Service or Information Disclosure via format string injection (CVE-2026-33210)
* erb: ERB: Arbitrary code execution via deserialization bypass (CVE-2026-41316)
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.
Fixed packages 28
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 9 | ruby | 4.0.3-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | ruby-bundled-gems | 4.0.3-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | ruby-default-gems | 4.0.3-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | ruby-devel | 4.0.3-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | ruby-doc | 4.0.3-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | ruby-libs | 4.0.3-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-bigdecimal | 4.0.1-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-bundler | 4.0.6-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-io-console | 0.8.2-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-irb | 1.16.0-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-json | 2.18.0-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-minitest | 6.0.0-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-mysql2 | 0.5.7-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux · 9 | rubygem-mysql2-doc | 0.5.7-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux · 9 | rubygem-pg | 1.6.3-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux · 9 | rubygem-pg-doc | 1.6.3-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux · 9 | rubygem-power_assert | 3.0.1-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-psych | 5.3.1-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-racc | 1.8.1-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-rake | 13.3.1-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-rbs | 3.10.0-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-rdoc | 7.0.3-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-rexml | 3.4.4-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-rss | 0.3.2-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-test-unit | 3.7.5-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygem-typeprof | 0.31.1-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygems | 4.0.6-32.module_el9.8.0+251+5fdbd96b |
| AlmaLinux · 9 | rubygems-devel | 4.0.6-32.module_el9.8.0+251+5fdbd96b |
Vulnerabilities 2
-
High 8.3
Ruby JSON has a format string injection vulnerability
Ruby JSON is a JSON implementation for Ruby. From version 2.14.0 to before versions 2.15.2.1, 2.17.1.2, and 2.19.2, a format string injection vulnerability can lead to denial of service attacks or information disclosure, when the allow_duplicate_key: false pa…
-
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…