CVE-2026-42245
Published:May 09, 2026
Updated:May 16, 2026
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.
Affected Packages
https://github.com/ruby/net-imap.git (GITHUB):
Affected version(s) >=v0.5.0 <v0.5.14Fix Suggestion:
Update to version v0.5.14https://github.com/ruby/net-imap.git (GITHUB):
Affected version(s) >=v0.1.0 <v0.4.24Fix Suggestion:
Update to version v0.4.24https://github.com/ruby/net-imap.git (GITHUB):
Affected version(s) >=v0.6.0 <v0.6.4Fix Suggestion:
Update to version v0.6.4net-imap (RUBY):
Affected version(s) >=0.5.0 <0.5.14Fix Suggestion:
Update to version 0.5.14net-imap (RUBY):
Affected version(s) >=0.1.0 <0.4.24Fix Suggestion:
Update to version 0.4.24net-imap (RUBY):
Affected version(s) >=0.1.0 <0.4.24Fix Suggestion:
Update to version 0.4.24net-imap (RUBY):
Affected version(s) >=0.6.0 <0.6.4Fix Suggestion:
Update to version 0.6.4Related Resources (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Inefficient Algorithmic Complexity
EPSS
Base Score:
0.08