VDB

CVE-2026-42246

CVE-2026-42246 PUBLISHED CVSS 7.6 HIGH

net-imap vulnerable to STARTTLS stripping via invalid response timing

Reported by github_m · Published May 9, 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rubygem-power_asserterrata.rockylinux.org3.0.1-33.module, 2.0.3-13.el10, 2.0.3-7.module, 1.2.1-167.el9
rubygem-rsserrata.rockylinux.org0.3.1-13.el10
rubygem-opensslerrata.rockylinux.org2.1.2-115.module
ruby-bundled-gemserrata.rockylinux.org4.0.3-33.module, 3.3.10-7.module
kube-fluentd-operatorChainguard1.18.2-r63
rubygem-rexmlerrata.rockylinux.org3.4.4-33.module, 3.4.4-13.el10, 3.4.4-7.module, 3.2.5-167.el9
rubygem-irberrata.rockylinux.org1.16.0-33.module, 1.13.1-13.el10, 1.13.1-7.module, 1.3.5-167.el9
ruby3.4-rubygemsAmazon Linux3.6.9-27.amzn2023.0.6
rubygem-psych-debuginfoerrata.rockylinux.org5.3.1-33.module, 5.1.2-13.el10, 5.1.2-7.module, 3.3.2-167.el9, 3.0.2-115.module
rubygem-bigdecimal-debuginfoerrata.rockylinux.org4.0.1-33.module, 3.1.5-13.el10, 3.1.5-7.module, 3.0.0-167.el9
rubygem-rdocerrata.rockylinux.org7.0.3-33.module, 6.6.3.1-13.el10, 6.6.3.1-7.module, 6.3.4.1-167.el9
rubygem-raccerrata.rockylinux.org1.7.3-7.module

51 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
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

Affected products

VendorProductVersions
rubynet-imap< 0.3.10, >= 0.4.0, < 0.4.24, >= 0.5.0, < 0.5.14
chainguardkube-fluentd-operator0
Red HatRed Hat CodeReady Linux Builder EUS (v.9.6)
amazon:2023ruby3.4-rubygems0
Red HatRed Hat Enterprise Linux Server (v. 7 ELS)
wolfiruby3.4-rails-8.00
Red HatRed Hat Hardened Images3.3.10-23.2.hum1
Red HatRed Hat Enterprise Linux AppStream AUS (v.8.6)
Red HatRed Hat Enterprise Linux 7
amazon:2023ruby3.4-rubygem-bigdecimal0
wolfiruby3.4-net-imap0
amazon:2023ruby4.0-bundled-gems0
amazon:2023ruby4.0-rubygem-rexml0
amazon:2023ruby3.4-rubygem-json0
chainguardruby3.3-rails-7.20
chainguardgitlab-rails-ce-18.60
chainguardlogstash-9.30
Red HatRed Hat 3scale API Management Platform 2
Red HatRed Hat Enterprise Linux 90:3.0.7-167.el9_8
amazon:2ruby-devel0

…and 164 more

Timeline

  • May 4, 2026 CVE Published
  • May 10, 2026 Security Advisory (24 in total, the first dated here)
  • May 14, 2026 CVE Updated
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Jun 30, 2026 Distribution Patch (30 in total, the first dated here)
  • Aug 4, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-42246
vulnetix vdb fixes CVE-2026-42246

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-42246/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›