CVE-2026-42245

7.5 HIGH
Published: May 09, 2026 Modified: May 18, 2026
View on NVD

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/ruby/net-imap/releases/tag/v0.4.24
Source: security-advisories@github.com
Release Notes
https://github.com/ruby/net-imap/releases/tag/v0.5.14
Source: security-advisories@github.com
Release Notes
https://github.com/ruby/net-imap/releases/tag/v0.6.4
Source: security-advisories@github.com
Release Notes
https://github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcw
Source: security-advisories@github.com
Mitigation Vendor Advisory

7 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
0.4%
33th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

ruby-lang