Summary
Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible.
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 5
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 10 | ruby4.0 | 4.0.3-34.el10_2 |
| AlmaLinux · 10 | ruby4.0-devel | 4.0.3-34.el10_2 |
| AlmaLinux · 10 | ruby4.0-doc | 4.0.3-34.el10_2 |
| AlmaLinux · 10 | ruby4.0-rubygem-mysql2 | 0.5.7-34.el10_2 |
| AlmaLinux · 10 | ruby4.0-rubygem-pg | 1.6.3-34.el10_2 |
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…