cve.bz

CVE-2026-42245

2.3 lowEPSS 0.4%

Low (2.3) in ruby-lang net\. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in net-imap 0.4.24, 0.5.14, 0.6.4.

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.

Severity

CVSS 4.0

2.3 low
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% chance of exploitation in the next 30 days; higher than 35% of CVEs (scores of 2026-11-01)
CWE
CWE-407
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q2mw-fvj9-vvcwRubyGemsnet-imap>=0.6.0 <0.6.40.6.4
GHSA-q2mw-fvj9-vvcwRubyGemsnet-imap>=0.5.0 <0.5.140.5.14
GHSA-q2mw-fvj9-vvcwRubyGemsnet-imap<0.4.240.4.24

References

Check your stackJSON