CVE-2026-42245Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby.
Updated under an hour ago ()
Does this affect you?
It affects ruby-lang net::imap. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 7.5 HIGH (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- 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
- Not given
- NVD analysis
- Analyzed
- Record last updated
- Jul 24, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
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
- https://github.com/ruby/net-imap/commit/6091f7d6b1f3514cafbfe39c76f2b5d73de3ca96patch
- https://github.com/ruby/net-imap/commit/88d95231fc8afef11c1f074453f7d75b68c9dfdapatch
- https://github.com/ruby/net-imap/commit/de685f91a4a4cc75eb80da898c2bf8af08d34819patch
- https://github.com/ruby/net-imap/releases/tag/v0.4.24release-notes
- https://github.com/ruby/net-imap/releases/tag/v0.5.14release-notes
- https://github.com/ruby/net-imap/releases/tag/v0.6.4release-notes
- https://github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcwmitigation, vendor-advisory
The CVE record on cve.org NVD's entry
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.