IMAP Client Vulnerability in Ruby's Net::IMAP Affects Multiple Versions
CVE-2026-42246
7.6HIGH
What is CVE-2026-42246?
A vulnerability in Ruby's Net::IMAP allows a man-in-the-middle attacker to exploit the TLS initiation process, causing Net::IMAP#starttls to incorrectly return 'successfully' without actually establishing a secure TLS connection. This presents a significant risk as attackers can intercept and manipulate communications. Patches are available in versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4 to mitigate this issue.
Affected Version(s)
net-imap < 0.3.10 < 0.3.10
net-imap >= 0.4.0, < 0.4.24 < 0.4.0, 0.4.24
net-imap >= 0.5.0, < 0.5.14 < 0.5.0, 0.5.14
