CVE-2026-42245: net-imap: Quadratic complexity when reading response literals
ruby · net-imap
Affected: ruby net-imap · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 35% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- ruby · net-imap< 0.4.24; >= 0.5.0, < 0.5.14; >= 0.6.0, < 0.6.4
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
CoverageNo articles yet
No CyberSIXT article names CVE-2026-42245 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-407cwe.mitre.org
- github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcwgithub.com
- github.com/ruby/net-imap/commit/6091f7d6b1f3514cafbfe39c76f2b5d7github.com
- github.com/ruby/net-imap/commit/88d95231fc8afef11c1f074453f7d75bgithub.com
- github.com/ruby/net-imap/commit/de685f91a4a4cc75eb80da898c2bf8afgithub.com
- github.com/ruby/net-imap/releases/tag/v0.4.24github.com
- github.com/ruby/net-imap/releases/tag/v0.5.14github.com
- github.com/ruby/net-imap/releases/tag/v0.6.4github.com