Red Hat Security Advisory: ruby security update
🔗 CVE IDs covered (3)
📋 Description
CVE-2026-41316 — erb: ERB: Arbitrary code execution via deserialization bypass CVE-2026-42246 — net-imap: ruby: Net::IMAP: Information disclosure via man-in-the-middle attack bypassing TLS CVE-2026-42258 — ruby/net-imap: ruby: Net::IMAP: IMAP Command Injection via Symbol Arguments
🎯 Affected products82
- Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-0:3.0.4-161.el9_2.3.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-0:3.0.4-161.el9_2.3.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-0:3.0.4-161.el9_2.3.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-0:3.0.4-161.el9_2.3.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-0:3.0.4-161.el9_2.3.src as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-0:3.0.4-161.el9_2.3.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-debuginfo-0:3.0.4-161.el9_2.3.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-debuginfo-0:3.0.4-161.el9_2.3.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-debuginfo-0:3.0.4-161.el9_2.3.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-debuginfo-0:3.0.4-161.el9_2.3.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-debuginfo-0:3.0.4-161.el9_2.3.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-debugsource-0:3.0.4-161.el9_2.3.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-debugsource-0:3.0.4-161.el9_2.3.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-debugsource-0:3.0.4-161.el9_2.3.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-debugsource-0:3.0.4-161.el9_2.3.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-debugsource-0:3.0.4-161.el9_2.3.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-default-gems-0:3.0.4-161.el9_2.3.noarch as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-devel-0:3.0.4-161.el9_2.3.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-devel-0:3.0.4-161.el9_2.3.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-devel-0:3.0.4-161.el9_2.3.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-devel-0:3.0.4-161.el9_2.3.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-devel-0:3.0.4-161.el9_2.3.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-libs-0:3.0.4-161.el9_2.3.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-libs-0:3.0.4-161.el9_2.3.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-libs-0:3.0.4-161.el9_2.3.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-libs-0:3.0.4-161.el9_2.3.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-libs-0:3.0.4-161.el9_2.3.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-libs-debuginfo-0:3.0.4-161.el9_2.3.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- ruby-libs-debuginfo-0:3.0.4-161.el9_2.3.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.2)
- +52 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: As a temporary workaround, Users are strongly encouraged to switch from explicit TLS upgrading mechanisms (STARTTLS on port 143) to Implicit TLS connections (such as IMAPS on port 993). By enforcing implicit TLS via port 993 from the initial socket creation step, the connection is mathematically protected against packet injection and connection degradation tactics entirely, bypassing the vulnerable implementation path. Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
🔗 References (6)
- selfhttps://access.redhat.com/errata/RHSA-2026:35834
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2461369
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2468498
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2468499
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_35834.json