Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.4

Ruby 4.0: Unsecured IMAP Connections

published 4 months ago
Summary

An update is available for Ruby 4.0 to fix security issues that could allow hackers to disrupt or steal sensitive information from email accounts. This affects any system using Ruby's IMAP feature to manage email. To stay secure, update your Ruby 4.0 installation as soon as possible.

What to do
  • Update rocky rubygem-mysql2 to version 0:0.5.7-1.module+el9.8.0+40094+ce01217c.
  • Update rocky rubygem-pg to version 0:1.6.3-1.module+el9.8.0+40094+ce01217c.
Affected software
Ecosystem VendorProductAffected versions
Rocky Linux:9 rocky rubygem-mysql2 < 0:0.5.7-1.module+el9.8.0+40094+ce01217c
Fix: upgrade to 0:0.5.7-1.module+el9.8.0+40094+ce01217c
Rocky Linux:9 rocky rubygem-pg < 0:1.6.3-1.module+el9.8.0+40094+ce01217c
Fix: upgrade to 0:1.6.3-1.module+el9.8.0+40094+ce01217c
Original advisory text
Important: ruby:4.0 security update
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: net-imap: Net::IMAP: Denial of Service via crafted IMAP responses (CVE-2026-42245)

* ruby/net-imap: ruby: Net::IMAP: IMAP Command Injection via Symbol Arguments (CVE-2026-42258)

* net-imap: ruby: Net::IMAP: Information disclosure via man-in-the-middle attack bypassing TLS (CVE-2026-42246)

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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
7.4 High
Timeline
Published1 Jul 2026
Updated1 Jul 2026
First seen1 Jul 2026
Sources
Track software like this
Free during beta