RHSA-2026:37397HighCVSS 7.4

Red Hat Security Advisory: ruby security update

Published
July 9, 2026
Last Modified
August 20, 2026

🔗 CVE IDs covered (2)

📋 Description

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 products56

  • Red Hat Enterprise Linux Server (v. 7 ELS)
  • Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • ruby-0:2.0.0.648-39.el7_9.1.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-0:2.0.0.648-39.el7_9.1.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-0:2.0.0.648-39.el7_9.1.s390x as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-0:2.0.0.648-39.el7_9.1.src as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-0:2.0.0.648-39.el7_9.1.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-debuginfo-0:2.0.0.648-39.el7_9.1.i686 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-debuginfo-0:2.0.0.648-39.el7_9.1.ppc as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-debuginfo-0:2.0.0.648-39.el7_9.1.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-debuginfo-0:2.0.0.648-39.el7_9.1.ppc64 as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • ruby-debuginfo-0:2.0.0.648-39.el7_9.1.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-debuginfo-0:2.0.0.648-39.el7_9.1.ppc64le as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • ruby-debuginfo-0:2.0.0.648-39.el7_9.1.s390 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-debuginfo-0:2.0.0.648-39.el7_9.1.s390x as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-debuginfo-0:2.0.0.648-39.el7_9.1.s390x as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • ruby-debuginfo-0:2.0.0.648-39.el7_9.1.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-debuginfo-0:2.0.0.648-39.el7_9.1.x86_64 as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • ruby-devel-0:2.0.0.648-39.el7_9.1.ppc64 as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • ruby-devel-0:2.0.0.648-39.el7_9.1.ppc64le as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • ruby-devel-0:2.0.0.648-39.el7_9.1.s390x as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • ruby-devel-0:2.0.0.648-39.el7_9.1.x86_64 as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • ruby-doc-0:2.0.0.648-39.el7_9.1.noarch as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • ruby-irb-0:2.0.0.648-39.el7_9.1.noarch as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-libs-0:2.0.0.648-39.el7_9.1.i686 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-libs-0:2.0.0.648-39.el7_9.1.ppc as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-libs-0:2.0.0.648-39.el7_9.1.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-libs-0:2.0.0.648-39.el7_9.1.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-libs-0:2.0.0.648-39.el7_9.1.s390 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • ruby-libs-0:2.0.0.648-39.el7_9.1.s390x as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
  • +26 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 (5)