Resource exhaustion in Ruby Net-imap

CVE-2025-43857

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5, there is a possibility for denial of service by memory exhaustion when net-imap reads server resp…

Vulnerability class: DoS (Denial of Service)

EPSS: 0.005 (67.5th percentile) — read the EPSS interpretation.

Affected products

  • Ruby Net-imap — versions >= 0.5.0, < 0.5.7, >= 0.4.0, < 0.4.20, >= 0.3.0, < 0.3.9

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-43857?
CVE-2025-43857 is a vulnerability in Ruby Net-imap, classified under Uncontrolled Resource Consumption. Published 2025-04-28.
Is CVE-2025-43857 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.