Vulnerabilities

CVE-2026-42256

Medium 6.5 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-05-09
Last modified
2026-07-24
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 22 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
net-imap (RubyGems) ≥ 0.4.0, < 0.4.24 Affected
net-imap (RubyGems) ≥ 0.5.0, < 0.5.14 Affected
net-imap (RubyGems) ≥ 0.6.0, < 0.6.4 Affected
Ruby-lang Net::imap ≥ 0.4.0, < 0.4.24 Affected
Ruby-lang Net::imap ≥ 0.5.0, < 0.5.14 Affected
Ruby-lang Net::imap ≥ 0.6.0, < 0.6.4 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1498.001: Direct Network Flood impact
  • T1498.002: Reflection Amplification impact
  • T1499: Endpoint Denial of Service impact
  • T1499.001: OS Exhaustion Flood impact
  • T1499.002: Service Exhaustion Flood impact
  • T1499.003: Application Exhaustion Flood impact
  • T1499.004: Application or System Exploitation impact

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities