CVE Catalog

CVE-2026-42245

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.41%

34th percentile - higher than 34% of all known CVEs

Summary

Net::IMAP in Ruby has quadratic time complexity when reading large responses containing many string literals. A hostile server can send crafted responses to exhaust the client's CPU, leading to a denial of service (DoS) attack.

Risk Assessment

An attacker can remotely exhaust the IMAP client's CPU resources, causing service unavailability for users.

Recommendation

Update the Net::IMAP library to version 0.4.24, 0.5.14, or 0.6.4, depending on the branch in use.

Other vulnerabilities in Net::IMAP

See all
Original NVD description (English source)

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. A hostile server can send responses which are crafted to exhaust the client's CPU for a denial of service attack. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS