
CVE catalog
CVE-2026-42246
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#starttl
- Severity
- High · CVSS 7.6
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.31% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby3.1 | bookworm | 3.1.2-7+deb12u1 | vulnerable |
| Debian | ruby3.1 | bookworm-security | 3.1.2-7+deb12u1 | vulnerable |
| Cpe | ruby3.2 | Not reported | 3.2.3-1ubuntu0.24.04.8 | fixed |
| Cpe | libruby3.2 | Not reported | 3.2.3-1ubuntu0.24.04.8 | fixed |
| Cpe | ruby3.2-dev | Not reported | 3.2.3-1ubuntu0.24.04.8 | fixed |
| Cpe | ruby3.2-doc | Not reported | 3.2.3-1ubuntu0.24.04.8 | fixed |
| Cpe | ruby3.1 | Not reported | Not reported | vulnerable |
| Cpe | net\ | Not reported | 0.3.10 | fixed |
| Cpe | net\ | Not reported | 0.4.24 | fixed |
| Cpe | net\ | Not reported | 0.5.14 | fixed |
| Cpe | net\ | Not reported | 0.6.4 | fixed |
| Cpe | net\ | Not reported | 0.6.4 | fixed |
| Ubuntu | ruby2.7 | pro | 2.7.0-1 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-2 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-3 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-4 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-4ubuntu1 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.1 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.2 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.3 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.4 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.5 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.6 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.7 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.8 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.9 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.10 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.11 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.12 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.13 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.14 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.15 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.16 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.17 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.18 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.18+esm1 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.18+esm3 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.18+esm4 | vulnerable |
| Ubuntu | ruby2.7 | pro | 2.7.0-5ubuntu1.18+esm5 | fixed |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-5ubuntu1 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.1 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.2 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.3 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.4 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.5 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.6 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.7 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.8 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.10 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.11 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.12 | vulnerable |
| Ubuntu | ruby3.0 | 22.04 | 3.0.2-7ubuntu2.13 | fixed |
| Ubuntu | ruby3.2 | 24.04 | 3.2.3-1 | vulnerable |
| Ubuntu | ruby3.2 | 24.04 | 3.2.3-1build2 | vulnerable |
| Ubuntu | ruby3.2 | 24.04 | 3.2.3-1build3 | vulnerable |
| Ubuntu | ruby3.2 | 24.04 | 3.2.3-1ubuntu0.24.04.1 | vulnerable |
| Ubuntu | ruby3.2 | 24.04 | 3.2.3-1ubuntu0.24.04.3 | vulnerable |
| Ubuntu | ruby3.2 | 24.04 | 3.2.3-1ubuntu0.24.04.5 | vulnerable |
| Ubuntu | ruby3.2 | 24.04 | 3.2.3-1ubuntu0.24.04.6 | vulnerable |
| Ubuntu | ruby3.2 | 24.04 | 3.2.3-1ubuntu0.24.04.7 | vulnerable |
| Ubuntu | ruby3.2 | 24.04 | 3.2.3-1ubuntu0.24.04.8 | fixed |
| Ubuntu | ruby3.3 | 26.04 | 3.3.8-2ubuntu2 | vulnerable |
| Ubuntu | ruby3.3 | 26.04 | 3.3.8-2ubuntu3 | vulnerable |
| Ubuntu | ruby3.3 | 26.04 | 3.3.8-2ubuntu3.1 | fixed |
| Suse | hawk2 | linux enterprise server for sap applications 16.0 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | fixed |
| Suse | hawk2 | linux enterprise high availability extension 16.0 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | fixed |
| Opensuse | hawk2 | leap 16.0 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | fixed |
| Alpine | ruby-net-imap | 3.21 | 0.4.25-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby3.1 | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | ruby3.2 | cpe | Not reported | 3.2.3-1ubuntu0.24.04.8 | Not reported | Not reported | Not reported |
| Cpe | libruby3.2 | cpe | Not reported | 3.2.3-1ubuntu0.24.04.8 | Not reported | Not reported | Not reported |
| Cpe | ruby3.2-dev | cpe | Not reported | 3.2.3-1ubuntu0.24.04.8 | Not reported | Not reported | Not reported |
| Cpe | ruby3.2-doc | cpe | Not reported | 3.2.3-1ubuntu0.24.04.8 | Not reported | Not reported | Not reported |
| Cpe | net\ | cpe | Not reported | 0.3.10 | Not reported | Not reported | Not reported |
| Cpe | net\ | cpe | Not reported | 0.4.24 | Not reported | Not reported | Not reported |
| Cpe | net\ | cpe | Not reported | 0.5.14 | Not reported | Not reported | Not reported |
| Cpe | net\ | cpe | Not reported | 0.6.4 | Not reported | Not reported | Not reported |
| Cpe | net\ | cpe | Not reported | 0.6.4 | Not reported | NVD-CVE-2026-42246 | Not reported |
| Ubuntu | ruby2.7 | deb | pro | 2.7.0-5ubuntu1.18+esm5 | Not reported | USN-8478-1 | Not reported |
| Ubuntu | ruby3.0 | deb | 22.04 | 3.0.2-7ubuntu2.13 | Not reported | USN-8478-1 | Not reported |
| Ubuntu | ruby3.2 | deb | 24.04 | 3.2.3-1ubuntu0.24.04.8 | Not reported | USN-8478-1 | Not reported |
| Ubuntu | ruby3.3 | deb | 26.04 | 3.3.8-2ubuntu3.1 | Not reported | USN-8478-1 | Not reported |
| Suse | hawk2 | rpm | linux enterprise server for sap applications 16.0 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | Not reported | SUSE-SU-2026:24250-1 | Not reported |
| Suse | hawk2 | rpm | linux enterprise high availability extension 16.0 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | Not reported | SUSE-SU-2026:24195-1 | Not reported |
| Opensuse | hawk2 | rpm | leap 16.0 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | Not reported | OPENSUSE-SU-2026:22068-1 | Not reported |
| Alpine | ruby-net-imap | apk | 3.21 | 0.4.25-r0 | Not reported | ALPINE-CVE-2026-42246 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libruby3.1]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
- [ruby3.1]Affected
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
- [ruby3.1-dev]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
- [ruby3.1-doc]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· all · bookwormAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookwormAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookworm-securityAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookworm-securityAffected
nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12
[Debian 13 (Trixie)]
- [libruby3.3]Affected
Source package: [ruby3.3]
Details (2)
3.3.8-2· amd64 · trixieAffected
nvd · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieAffected
nvd · ruby3.3 · debian · 13
- [ruby3.3]Affected
Details (2)
3.3.8-2· amd64 · trixieAffected
nvd · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieAffected
nvd · ruby3.3 · debian · 13
- [ruby3.3-dev]Affected
Source package: [ruby3.3]
Details (2)
3.3.8-2· amd64 · trixieAffected
nvd · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieAffected
nvd · ruby3.3 · debian · 13
- [ruby3.3-doc]Affected
Source package: [ruby3.3]
Details (2)
3.3.8-2· all · trixieAffected
nvd · ruby3.3 · debian · 13
3.3.8-2· all · trixieAffected
nvd · ruby3.3 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2026_37238.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-42246]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-42246]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-42246]
- [https://osv.dev/vulnerability/SUSE-SU-2026:24195-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:24250-1]
- [https://osv.dev/vulnerability/USN-8478-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:22068-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-42246]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42246.json]
- [https://ubuntu.com/security/notices/USN-8478-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2117.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]