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 | 4.0.3-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | ruby-bundled-gems | 4.0.3-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | ruby-default-gems | 4.0.3-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | ruby-devel | 4.0.3-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | ruby-doc | 4.0.3-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | ruby-libs | 4.0.3-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-bigdecimal | 4.0.1-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-bundler | 4.0.6-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-io-console | 0.8.2-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-irb | 1.16.0-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-json | 2.18.0-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-minitest | 6.0.0-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-mysql2 | 0.5.7-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux · 9 | rubygem-mysql2-doc | 0.5.7-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux · 9 | rubygem-pg | 1.6.3-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux · 9 | rubygem-pg-doc | 1.6.3-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux · 9 | rubygem-power_assert | 3.0.1-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-psych | 5.3.1-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-racc | 1.8.1-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-rake | 13.3.1-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-rbs | 3.10.0-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-rdoc | 7.0.3-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-rexml | 3.4.4-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-rss | 0.3.2-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-test-unit | 3.7.5-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygem-typeprof | 0.31.1-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygems | 4.0.6-33.module_el9.8.0+273+a67497ba |
| AlmaLinux · 9 | rubygems-devel | 4.0.6-33.module_el9.8.0+273+a67497ba |
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-33577.html