Skip to main content
VulnerabilityPublished Updated

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

Affects jrubySource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.5 Medium.

Data as of 20 Nov 2026, 08:28 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Apr 2025

  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

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

Upgrade jruby Net::IMAP to versions 0.5.7, 0.4.20, 0.3.9, or 0.2.5 or later where the issue is patched. Avoid connecting to untrusted or compromised IMAP servers, especially over insecure connections.

Description

Net::IMAP in jruby versions prior to 0.5.7, 0.4.20, 0.3.9, and 0.2.5 contains a denial of service vulnerability due to memory exhaustion when reading server responses. A malicious IMAP server can specify a large "literal" byte count, causing the client to allocate excessive memory. This issue affects insecure connections or untrusted servers and has been patched in the stated versions.

References

Community reviews

Loading reviews…