CVE-2026-42256: Jruby · Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby
Affects jrubySource GCVE Database
Not known to be exploited · CVSS 6.0 Medium : upgrade to 3.3.8-2ubuntu3.1 when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.3.8-2ubuntu3.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/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 the Ubuntu ruby3.3 package to 3.3.8-2ubuntu3.1.
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 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– |
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. From versions 0.4.0 to before 0.4.24, 0.5.0 to before 0.5.14, and 0.6.0 to before 0.6.4, when authenticating a connection with SCRAM-SHA1 or SCRAM-SHA256, a hostile server can perform a computational denial-of-service attack on the client process by sending a big iteration count value. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.
References
- ubuntu.com/security/CVE-2026-42256 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-42256 (opens in a new tab)
- github.com/ruby/net-imap/commit/158d0b505074397cdb5ceb58935e42dd2bcfa612 (opens in a new tab)
- github.com/ruby/net-imap/commit/808001bc45c06f7297a7e96d341279e041a7f7f4 (opens in a new tab)
- github.com/ruby/net-imap/commit/99f59eab6064955a23debd95410263ad144df758 (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/releases/tag/v0.6.4 (opens in a new tab)
- github.com/ruby/net-imap/security/advisories/GHSA-87pf-fpwv-p7m7 (opens in a new tab)
- ubuntu.com/security/notices/USN-8478-1 (opens in a new tab)