CVE-2026-42256Net::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. From versions 0.4.0 to before 0.4.24, 0.5.0 to before 0.5.14, and 0.6.0 to before 0.6.4, when authenticating a connection with SCRAM-SHA1 or SCRAM-SHA256, a hostile server can perform a computational denial-of-service attack on the client process by sending a big iteration count value. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.
- CVSS
- 6.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-770, CWE-1322
- 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 | from 0.4.0 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/158d0b505074397cdb5ceb58935e42dd2bcfa612patch
- https://github.com/ruby/net-imap/commit/808001bc45c06f7297a7e96d341279e041a7f7f4patch
- https://github.com/ruby/net-imap/commit/99f59eab6064955a23debd95410263ad144df758patch
- 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-87pf-fpwv-p7m7mitigation, 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.