cve.bz

CVE-2026-42256

6.0 mediumEPSS 0.3%

Medium (6.0) in ruby-lang net\. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in net-imap 0.4.24, 0.5.14, 0.6.4.

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.

Severity

CVSS 4.0

6.0 medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.3% chance of exploitation in the next 30 days; higher than 22% of CVEs (scores of 2026-10-31)
CWEs
CWE-770, CWE-1322
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-87pf-fpwv-p7m7RubyGemsnet-imap>=0.6.0 <0.6.40.6.4
GHSA-87pf-fpwv-p7m7RubyGemsnet-imap>=0.5.0 <0.5.140.5.14
GHSA-87pf-fpwv-p7m7RubyGemsnet-imap>=0.4.0 <0.4.240.4.24

References

Check your stackJSON