Allocation of Resources Without Limits or Throttling Affecting ruby-net-imap package, versions <0.4.25-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.3% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE321-RUBYNETIMAP-21830597
  • published30 Oct 2026
  • disclosed9 May 2026

Introduced: 9 May 2026

CVE-2026-42256  (opens in a new tab)
CWE-770  (opens in a new tab)
CWE-1322  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 ruby-net-imap to version 0.4.25-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-net-imap package and not the ruby-net-imap package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

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 Base Scores

version 3.1