Unchecked Input for Loop Condition Affecting ruby:3.3/ruby-devel package, versions <0:3.3.12-8.module+el8.10.0+24567+c4e5368e


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.52% (42nd 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-RHEL8-RUBY-16745184
  • published18 May 2026
  • disclosed9 May 2026

Introduced: 9 May 2026

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

How to fix?

Upgrade RHEL:8 ruby:3.3/ruby-devel to version 0:3.3.12-8.module+el8.10.0+24567+c4e5368e or higher.
This issue was patched in RHSA-2026:50728.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby:3.3/ruby-devel package and not the ruby:3.3/ruby-devel package as distributed by RHEL. See How to fix? for RHEL:8 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