Ubuntu CVE Tracker
UBUNTU-CVE-2026-42246
Details
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 issue has been patched in versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | ruby2.3 | All versions before 2.3.1-2~ubuntu16.04.16+esm14 (fixed in 2.3.1-2~ubuntu16.04.16+esm14) |
| Ubuntu:16.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | ruby2.5 | All versions before 2.5.1-1ubuntu1.16+esm8 (fixed in 2.5.1-1ubuntu1.16+esm8) |
| Ubuntu:18.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | ruby2.7 | All versions before 2.7.0-5ubuntu1.18+esm5 (fixed in 2.7.0-5ubuntu1.18+esm5) |
| Ubuntu:20.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:22.04:LTS | ruby3.0 | All versions before 3.0.2-7ubuntu2.13 (fixed in 3.0.2-7ubuntu2.13) |
| Ubuntu:24.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:24.04:LTS | ruby3.2 | All versions before 3.2.3-1ubuntu0.24.04.8 (fixed in 3.2.3-1ubuntu0.24.04.8) |
| Ubuntu:25.10 | jruby | All versions, no fix listed |
| Ubuntu:25.10 | ruby3.3 | All versions, no fix listed |
| Ubuntu:26.10 | jruby | All versions, no fix listed |
| Ubuntu:26.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:26.04:LTS | ruby3.3 | All versions before 3.3.8-2ubuntu3.1 (fixed in 3.3.8-2ubuntu3.1) |
References
- https://ubuntu.com/security/CVE-2026-42246
- https://www.cve.org/CVERecord?id=CVE-2026-42246
- https://github.com/ruby/net-imap/commit/0ede4c40b1523dfeaf95777b2678e54cc0fd9618
- https://github.com/ruby/net-imap/commit/24a4e770b43230286a05aa2a9746cdbb3eb8485e
- https://github.com/ruby/net-imap/commit/97e2488fb5401a1783bddd959dde007d9fbce42c
- https://github.com/ruby/net-imap/commit/f79d35bf5833f186e81044c57c843eda30c873da
- https://github.com/ruby/net-imap/releases/tag/v0.3.10
- https://github.com/ruby/net-imap/releases/tag/v0.4.24
- https://github.com/ruby/net-imap/releases/tag/v0.5.14
- https://github.com/ruby/net-imap/security/advisories/GHSA-vcgp-9326-pqcp
- https://ubuntu.com/security/notices/USN-8431-1
- https://ubuntu.com/security/notices/USN-8478-1