CVE-2026-42256
Published:May 09, 2026
Updated:May 16, 2026
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. From versions 0.4.0 to before 0.4.24, 0.5.0 to before 0.5.14, and 0.6.0 to before 0.6.4, when authenticating a connection with SCRAM-SHA1 or SCRAM-SHA256, a hostile server can perform a computational denial-of-service attack on the client process by sending a big iteration count value. 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.4.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.4https://github.com/ruby/net-imap.git (GITHUB):
Affected version(s) >=v0.5.0 <v0.5.14Fix Suggestion:
Update to version v0.5.14net-imap (RUBY):
Affected version(s) >=0.4.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.4net-imap (RUBY):
Affected version(s) >=0.5.0 <0.5.14Fix Suggestion:
Update to version 0.5.14Related Resources (11)
Do you need more information?
Contact UsCVSS v4
Base Score:
6
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
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.07