CVE-2026-42246Ruby-lang Net::imap
High 7.6 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Net::imap We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 4.0
- 7.6
- EPSS
- —
- Auth required
- No
- Published
- May 9, 2026
- Updated
- Aug 24, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- 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/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
What happens
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.
What to do
- Apply the vendor's security update for Net::imap.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | net-imap |
≥ 0.6.0 < 0.6.4 |
0.6.4 |
gem "net-imap", ">= 0.6.4" |
| RubyGems | net-imap |
≥ 0.5.0 < 0.5.14 |
0.5.14 |
gem "net-imap", ">= 0.5.14" |
| RubyGems | net-imap |
≥ 0.4.0 < 0.4.24 |
0.4.24 |
gem "net-imap", ">= 0.4.24" |
| RubyGems | net-imap |
< 0.3.10 |
0.3.10 |
gem "net-imap", ">= 0.3.10" |
Per OSV / GitHub Advisories (GHSA-vcgp-9326-pqcp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | net::imap | < 0.3.10 |
| ruby-lang | net::imap | ≥ 0.4.0 < 0.4.24 |
| ruby-lang | net::imap | ≥ 0.5.0 < 0.5.14 |
| ruby-lang | net::imap | ≥ 0.6.0 < 0.6.4 |
Official advisories
- Security update for hawk-apiserver, hawk2 · SUSE · SUSE-SU-2026:24712-1 · Nov 6, 2026 Critical
- Security update for hawk-apiserver, hawk2 · SUSE · SUSE-SU-2026:24722-1 · Nov 6, 2026 Critical
- Security update for hawk-apiserver, hawk2 · SUSE · openSUSE-SU-2026:22305-1 · Nov 6, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:38694 · Jul 13, 2026 High
- Red Hat Security Advisory: ruby security update · Red Hat · RHSA-2026:37397 · Jul 10, 2026 High
- Red Hat Security Advisory: ruby:3.3 security update · Red Hat · RHSA-2026:37238 · Jul 10, 2026 High
Also: SUSE (+4), Red Hat (+18)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Mitigation Vendor Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com