Back to CVE records
Low 2.3Published May 9, 2026

CVE-2026-42245net-imap: Quadratic complexity when reading response literals

Updated under an hour ago ()

Does this affect you?

It affects ruby net-imap and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
2.3 LOW (v4.0, CNA)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
Weakness (CWE)
CWE-407
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
May 12, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
ruby net-imap
ruby:net_imap (from the name)
before 0.4.24; from 0.5.0, < 0.5.14; from 0.6.0, < 0.6.4
CNA record
ruby-lang net::imap
ruby-lang:net::imap
before 0.4.24; from 0.5.0 before 0.5.14; from 0.6.0 before 0.6.4
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.