Unchecked Input for Loop Condition Affecting rubygems-devel package, versions <0:3.5.22-7.module+el9.8.0+24406+8975e57f


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.7% (52nd 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-CENTOS9-RUBYGEMSDEVEL-16743913
  • published18 May 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 Centos:9 rubygems-devel to version 0:3.5.22-7.module+el9.8.0+24406+8975e57f or higher.

NVD Description

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