CVE-2026-42256
CVE-2026-42256 — net-imap: Denial of service via high iteration count for `SCRAM-*` authentication
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
0%
chance of exploitation in 30 days
CVSS base
6
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6 | CVSS 4.0 | MEDIUM | — | — | cvelistV5 |
Weakness & attack patterns
- CWE-1322
- CWE-770
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1499.004Endpoint Denial of Service: Application or System Exploitation
- T1498.001Network Denial of Service: Direct Network Flood
- T1499Endpoint Denial of Service
References
7 on the record
- github.com/ruby/net-imap/security/advisories/GHSA-87pf-fpwv-p7m7
x_refsource_CONFIRM
- github.com/ruby/net-imap/commit/158d0b505074397cdb5ceb58935e42dd2bcfa612
x_refsource_MISC
- github.com/ruby/net-imap/commit/808001bc45c06f7297a7e96d341279e041a7f7f4
x_refsource_MISC
- github.com/ruby/net-imap/commit/99f59eab6064955a23debd95410263ad144df758
x_refsource_MISC
- github.com/ruby/net-imap/releases/tag/v0.4.24
x_refsource_MISC
- github.com/ruby/net-imap/releases/tag/v0.5.14
x_refsource_MISC
- github.com/ruby/net-imap/releases/tag/v0.6.4
x_refsource_MISC
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.