CVE-2026-42246: Jruby · Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby
Affects jrubySource GCVE Database
Not known to be exploited · CVSS 7.6 High · fixed in 2.3.1-2~ubuntu16.04.16+esm14 : patch jruby soon.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.3.1-2~ubuntu16.04.16+esm14, 2.5.1-1ubuntu1.16+esm8, 2.7.0-5ubuntu1.18+esm5 +3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSjrubypkg:deb/ubuntu/jruby?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10ruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSjrubypkg:deb/ubuntu/jruby?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-42246 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-42246 (opens in a new tab)
- github.com/ruby/net-imap/commit/0ede4c40b1523dfeaf95777b2678e54cc0fd9618 (opens in a new tab)
- github.com/ruby/net-imap/commit/24a4e770b43230286a05aa2a9746cdbb3eb8485e (opens in a new tab)
- github.com/ruby/net-imap/commit/97e2488fb5401a1783bddd959dde007d9fbce42c (opens in a new tab)
- github.com/ruby/net-imap/commit/f79d35bf5833f186e81044c57c843eda30c873da (opens in a new tab)
- github.com/ruby/net-imap/releases/tag/v0.3.10 (opens in a new tab)
- github.com/ruby/net-imap/releases/tag/v0.4.24 (opens in a new tab)
- github.com/ruby/net-imap/releases/tag/v0.5.14 (opens in a new tab)
- github.com/ruby/net-imap/security/advisories/GHSA-vcgp-9326-pqcp (opens in a new tab)
- ubuntu.com/security/notices/USN-8431-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8478-1 (opens in a new tab)