CVE-2026-42256
Received
Received - Intake
Denial-of-Service in Ruby Net::IMAP via SCRAM Authentication
Publication date: 2026-05-09
Last updated on: 2026-05-18
Assigner: GitHub, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| ruby-lang | net | From 0.5.0 (inc) to 0.5.14 (exc) |
| ruby-lang | net | From 0.6.0 (inc) to 0.6.4 (exc) |
| ruby-lang | net | From 0.4.0 (inc) to 0.4.24 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-770 | The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. |
| CWE-1322 | The product uses a non-blocking model that relies on a single threaded process for features such as scalability, but it contains code that can block when it is invoked. |