Skip to main content
VulnerabilityPublished Updated

CVE-2026-42258: Jruby · Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby

Affects jrubySource GCVE Database

0
Compare
Authoritative record:CVE-2026-42258· Medium 5.8

Not known to be exploited · CVSS 5.8 Medium : upgrade to 2.3.1-2~ubuntu16.04.16+esm15 when convenient.

Data as of 20 Nov 2026, 08:25 UTC

CVSS 4.0 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.3.1-2~ubuntu16.04.16+esm15
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

Upgrade the Ubuntu ruby2.3 package to 2.3.1-2~ubuntu16.04.16+esm15.

Affected software

ProductAffectedFixed in
Ubuntu 26.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=stonkingOther threatsAffected
  • =9.4.8.0+ds-3ubuntu1
  • =9.4.14.0+ds-1
Fixed in–
Ubuntu 26.10ruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=stonkingOther threatsAffected
  • =3.3.8-2ubuntu3
  • =3.3.8-2.2ubuntu4
  • =3.3.8-2.2ubuntu4.1
Fixed in–
Ubuntu 26.04 LTSjrubypkg:deb/ubuntu/jruby?arch=source&distro=resoluteOther threatsAffected
  • =9.4.8.0+ds-3ubuntu1
Fixed in–
Ubuntu 26.04 LTSruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=resoluteOther threatsAffected
  • 3.3.8-2ubuntu2 – 3.3.8-2ubuntu3.2
4 affected builds
Fixed in–
Ubuntu 25.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=questingOther threatsAffected
  • =9.4.8.0+ds-2ubuntu1
  • =9.4.8.0+ds-3ubuntu1
Fixed in–
Ubuntu 25.10ruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=questingOther threatsAffected
  • 3.3.7-1ubuntu2 – 3.3.8-2ubuntu2.1
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available and has been released in Ruby versions 0.4.24, 0.5.14, and 0.6.4, as well as in Ubuntu package version 2.3.1-2~ubuntu16.04.16+esm15. Users and administrators should apply these updates promptly via standard system update procedures. Ubuntu Pro users can obtain fixes via the Legacy Support add-on. No additional mitigation steps are indicated by the vendor advisory.

Description

A vulnerability in the Net::IMAP client implementation in Ruby allows CRLF injection and IMAP command injection via unsanitized Symbol arguments passed to IMAP commands. This flaw affects multiple versions prior to 0.4.24, 0.5.14, and 0.6.4 and has been patched in these versions. The issue could be exploited by a remote attacker controlling a malicious IMAP server or influencing command arguments to inject arbitrary IMAP commands. The vulnerability has a high severity rating with a CVSS score of 7.1. Fixes are available in updated Ruby packages, including version 2.3.1-2~ubuntu16.04.16+esm15 for Ubuntu 16.04 LTS.

References

Community reviews

Loading reviews…