CVE-2026-42246

net-imap vulnerable to STARTTLS stripping via invalid response timing

Published May 9, 2026 CVSS 4.0 · 7.6 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vcgp-9326-pqcp net-imap vulnerable to STARTTLS stripping via invalid response timing
Ubuntu USN Ubuntu USN USN-8431-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-8478-1 Ruby vulnerabilities
References
Link Providers
https://access.redhat.com/errata/RHSA-2026:33462 cve-icon
https://access.redhat.com/errata/RHSA-2026:33512 cve-icon
https://access.redhat.com/errata/RHSA-2026:33514 cve-icon
https://access.redhat.com/errata/RHSA-2026:33515 cve-icon
https://access.redhat.com/errata/RHSA-2026:33540 cve-icon
https://access.redhat.com/errata/RHSA-2026:33551 cve-icon
https://access.redhat.com/errata/RHSA-2026:33552 cve-icon
https://access.redhat.com/errata/RHSA-2026:33565 cve-icon
https://access.redhat.com/errata/RHSA-2026:33576 cve-icon
https://access.redhat.com/errata/RHSA-2026:33577 cve-icon
https://access.redhat.com/errata/RHSA-2026:33630 cve-icon
https://access.redhat.com/errata/RHSA-2026:33721 cve-icon
https://access.redhat.com/errata/RHSA-2026:34076 cve-icon
https://access.redhat.com/errata/RHSA-2026:35834 cve-icon
https://access.redhat.com/errata/RHSA-2026:35866 cve-icon
https://access.redhat.com/errata/RHSA-2026:35867 cve-icon
https://access.redhat.com/errata/RHSA-2026:35895 cve-icon
https://access.redhat.com/errata/RHSA-2026:36099 cve-icon
https://access.redhat.com/errata/RHSA-2026:37238 cve-icon
https://access.redhat.com/errata/RHSA-2026:37397 cve-icon
https://access.redhat.com/security/cve/CVE-2026-42246 cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2468499 cve-icon
https://github.com/ruby/net-imap/commit/0ede4c40b1523dfeaf95777b2678e54cc0fd9618 cve-icon cve-icon
https://github.com/ruby/net-imap/commit/24a4e770b43230286a05aa2a9746cdbb3eb8485e cve-icon cve-icon
https://github.com/ruby/net-imap/commit/97e2488fb5401a1783bddd959dde007d9fbce42c cve-icon cve-icon
https://github.com/ruby/net-imap/commit/f79d35bf5833f186e81044c57c843eda30c873da cve-icon cve-icon
https://github.com/ruby/net-imap/releases/tag/v0.3.10 cve-icon cve-icon
https://github.com/ruby/net-imap/releases/tag/v0.4.24 cve-icon cve-icon
https://github.com/ruby/net-imap/releases/tag/v0.5.14 cve-icon cve-icon
https://github.com/ruby/net-imap/security/advisories/GHSA-vcgp-9326-pqcp cve-icon cve-icon
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42246.json cve-icon
History
Type Values Removed Values Added
First Time appeared Ruby-lang net\
CPEs cpe:2.3:a:ruby-lang:net\:\:imap:*:*:*:*:*:ruby:*:*
Vendors & Products Ruby-lang net\
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ruby-lang
Ruby-lang net::imap
Vendors & Products Ruby-lang
Ruby-lang net::imap
Type Values Removed Values Added
Description 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.
Title net-imap vulnerable to STARTTLS stripping via invalid response timing
Weaknesses CWE-392
CWE-393
CWE-636
CWE-754
CWE-841
References
Metrics cvssV4_0

{'score': 7.6, 'vector': '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'}

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 24, 2026, 12:06 PM
Reserved
Apr 25, 2026, 5:37 AM
Status
Modified
Published
May 9, 2026, 8:16 PM
Modified
Aug 24, 2026, 1:18 PM