Allocation of Resources Without Limits or Throttling Affecting ruby4.0-net-imap package, versions <0.6.4-r0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (15th 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-RUBY40NETIMAP-16780280
  • published20 May 2026
  • disclosed9 May 2026

Introduced: 9 May 2026

NewCVE-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 Wolfi ruby4.0-net-imap to version 0.6.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby4.0-net-imap package and not the ruby4.0-net-imap package as distributed by Wolfi. See How to fix? for Wolfi 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