Unchecked Input for Loop Condition Affecting ruby3.4-default-gems package, versions <0:3.4.8-31.2.hum1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.41% (33rd 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-RHEL10-RUBY34DEFAULTGEMS-17743980
  • published1 Jul 2026
  • disclosed9 May 2026

Introduced: 9 May 2026

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

How to fix?

Upgrade RHEL:10 ruby3.4-default-gems to version 0:3.4.8-31.2.hum1 or higher.
This issue was patched in RHSA-2026:33552.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.4-default-gems package and not the ruby3.4-default-gems package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. A hostile server can send responses which are crafted to exhaust the client's CPU for a denial of service attack. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

CVSS Base Scores

version 3.1