Skip to main content
← All vulnerabilities
CVE-2026-42256GHSA-87PF-FPWV-P7M7

net-imap: Denial of service via high iteration count for `SCRAM-*` authentication

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.4.24, 0.5.14, 0.6.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ruby net-imap

    From 0.4.0 · fixed in 0.4.24; From 0.5.0 · fixed in 0.5.14; From 0.6.0 · fixed in 0.6.4

  • net-imapRubyGems

    From 0.6.0 · fixed in 0.6.4

  • net-imapRubyGems

    From 0.5.0 · fixed in 0.5.14

  • net-imapRubyGems

    From 0.4.0 · fixed in 0.4.24

References 7

GitHub · ruby/net-imap