CVE-2026-42245: Jruby · Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby
Affects jrubySource GCVE Database
Not known to be exploited · CVSS 2.3 Low.
Data as of 20 Nov 2026, 08:25 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/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 19 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10ruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=stonkingOther 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.
AI-suggested
Upgrade Jruby Net::IMAP to version 0.4.24, 0.5.14, or 0.6.4 or later where this vulnerability is patched. No other mitigation is indicated.
Description
Net::IMAP in Jruby versions prior to 0.4.24, 0.5.14, and 0.6.4 contains a vulnerability in the ResponseReader component that causes quadratic time complexity when processing large responses with many string literals. This can be exploited by a hostile IMAP server to exhaust the client's CPU, resulting in a denial of service. The issue has been fixed in the specified patched versions.
References
- ubuntu.com/security/CVE-2026-42245 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-42245 (opens in a new tab)
- github.com/ruby/net-imap/commit/6091f7d6b1f3514cafbfe39c76f2b5d73de3ca96 (opens in a new tab)
- github.com/ruby/net-imap/commit/88d95231fc8afef11c1f074453f7d75b68c9dfda (opens in a new tab)
- github.com/ruby/net-imap/commit/de685f91a4a4cc75eb80da898c2bf8af08d34819 (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-q2mw-fvj9-vvcw (opens in a new tab)