Skip to content
OpenAdvisories
High ALSA-2026:18039 1 CVE

Important: ruby security update

Published May 18, 2026 · Updated Oct 29, 2026

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):

* 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 22

ReleasePackageFixed in
AlmaLinux · 9 ruby 3.0.7-166.el9_7
AlmaLinux · 9 ruby-default-gems 3.0.7-166.el9_7
AlmaLinux · 9 ruby-devel 3.0.7-166.el9_7
AlmaLinux · 9 ruby-doc 3.0.7-166.el9_7
AlmaLinux · 9 ruby-libs 3.0.7-166.el9_7
AlmaLinux · 9 rubygem-bigdecimal 3.0.0-166.el9_7
AlmaLinux · 9 rubygem-bundler 2.2.33-166.el9_7
AlmaLinux · 9 rubygem-io-console 0.5.7-166.el9_7
AlmaLinux · 9 rubygem-irb 1.3.5-166.el9_7
AlmaLinux · 9 rubygem-json 2.5.1-166.el9_7
AlmaLinux · 9 rubygem-minitest 5.14.2-166.el9_7
AlmaLinux · 9 rubygem-power_assert 1.2.1-166.el9_7
AlmaLinux · 9 rubygem-psych 3.3.2-166.el9_7
AlmaLinux · 9 rubygem-rake 13.0.3-166.el9_7
AlmaLinux · 9 rubygem-rbs 1.4.0-166.el9_7
AlmaLinux · 9 rubygem-rdoc 6.3.4.1-166.el9_7
AlmaLinux · 9 rubygem-rexml 3.2.5-166.el9_7
AlmaLinux · 9 rubygem-rss 0.2.9-166.el9_7
AlmaLinux · 9 rubygem-test-unit 3.3.7-166.el9_7
AlmaLinux · 9 rubygem-typeprof 0.15.2-166.el9_7
AlmaLinux · 9 rubygems 3.2.33-166.el9_7
AlmaLinux · 9 rubygems-devel 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…

References

  • report
    https://access.redhat.com/security/cve/CVE-2026-41316
  • report
    https://bugzilla.redhat.com/2461369
  • advisory
    https://errata.almalinux.org/9/ALSA-2026-18039.html