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):
* 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.
Fixed packages 28
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 9 | ruby | 3.3.10-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | ruby-bundled-gems | 3.3.10-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | ruby-default-gems | 3.3.10-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | ruby-devel | 3.3.10-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | ruby-doc | 3.3.10-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | ruby-libs | 3.3.10-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-bigdecimal | 3.1.5-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-bundler | 2.5.22-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-io-console | 0.7.1-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-irb | 1.13.1-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-json | 2.7.2-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-minitest | 5.20.0-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-mysql2 | 0.5.5-3.module_el9.7.0+184+e2e36072 |
| AlmaLinux · 9 | rubygem-mysql2-doc | 0.5.5-3.module_el9.7.0+184+e2e36072 |
| AlmaLinux · 9 | rubygem-pg | 1.5.4-2.module_el9.7.0+245+447713a2 |
| AlmaLinux · 9 | rubygem-pg-doc | 1.5.4-2.module_el9.7.0+245+447713a2 |
| AlmaLinux · 9 | rubygem-power_assert | 2.0.3-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-psych | 5.1.2-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-racc | 1.7.3-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-rake | 13.1.0-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-rbs | 3.4.0-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-rdoc | 6.6.3.1-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-rexml | 3.4.4-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-rss | 0.3.1-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-test-unit | 3.6.1-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygem-typeprof | 0.21.9-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygems | 3.5.22-7.module_el9.8.0+272+38177c5f |
| AlmaLinux · 9 | rubygems-devel | 3.5.22-7.module_el9.8.0+272+38177c5f |
Vulnerabilities 3
-
High 7.6
net-imap vulnerable to STARTTLS stripping via invalid response timing
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4, a man-in-the-middle attacker can cause Net::IMAP#starttls to return "successfully", without starting TLS. This issu…
-
Medium 5.8
net-imap: Command Injection via unvalidated Symbol inputs
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, symbol arguments to commands are vulnerable to a CRLF Injection / IMAP Command injection via Symbol arguments passed to IMA…
-
Low 2.3
net-imap: Quadratic complexity when reading response literals
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. A hos…
References
-
report
https://access.redhat.com/security/cve/CVE-2026-42245
-
report
https://access.redhat.com/security/cve/CVE-2026-42246
-
report
https://access.redhat.com/security/cve/CVE-2026-42258
-
report
https://bugzilla.redhat.com/2468495
-
report
https://bugzilla.redhat.com/2468498
-
report
https://bugzilla.redhat.com/2468499
-
advisory
https://errata.almalinux.org/9/ALSA-2026-33576.html