CVE-2026-42256: ruby net-imap
Vulnerability summary
CVE-2026-42256 is a medium (CVSS 6.5) vulnerability in ruby net-imap. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 42.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 9 · Related 2Timeline
- 09-05-2026PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
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 metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.0MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated6.0MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.0MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · RubygemsEcosystem advisory · calculated6.0MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST6.0MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
+0.22 pp
From 0.30% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
- CWE-1322Use of Blocking Code in Single-threaded, Non-blocking ContextThe product uses a non-blocking model that relies on a single threaded process for features such as scalability, but it contains code that can block when it is invoked.
Affected systems
Chainguard58 products
- gitlab-rails-ce-18.1< 18.1.6-r10
- gitlab-rails-ce-18.10< 18.10.5-r1
- gitlab-rails-ce-18.11< 18.11.3-r1
- gitlab-rails-ce-18.3All versions (No fix recorded)
- gitlab-rails-ce-18.4All versions (No fix recorded)
Wolfi14 products
- jruby-10.1< 10.1.1.0-r1
- logstash-9.3< 9.3.4-r1
- logstash-9.3-iamguarded-compat< 9.3.4-r1
- logstash-9.3-with-output-opensearch< 9.3.4-r1
- ruby3.2-kube-logging-operator-fluentd-outputs< 6.5.0-r2
Debian2 products
- ruby3.1All versions (No fix recorded)
- ruby3.3All versions (No fix recorded)
Suse2 products
- rmt-server&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP7< 3.1.0-150700.3.28.1
- rmt-server&distro=SUSE Linux Enterprise Module for Server Applications 15 SP7< 3.1.0-150700.3.28.1
Ubuntu2 products
- jrubyAll versions (No fix recorded)
- ruby3.3All versions (No fix recorded) | < 3.3.8-2ubuntu3.1
Opensuse1 product
- rmt-server&distro=openSUSE Leap 16.0< 3.0.0-160000.1.1
Ruby1 product
- net-imap≥ 0.4.0, < 0.4.24 | ≥ 0.5.0, < 0.5.14 | ≥ 0.6.0, < 0.6.4
RubyGems1 product
- net-imap≥ 0.6.0, < 0.6.4 | ≥ 0.5.0, < 0.5.14 | ≥ 0.4.0, < 0.4.24
8 vendors · 81 products
References
30 links- github.com/ruby/net-imap/security/advisories/GHSA-87pf-fpwv-p7m7X Refsource CONFIRMREPORTAdvisoryWEBMitigationVendor Advisory
- github.com/ruby/net-imap/commit/158d0b505074397cdb5ceb58935e42dd2bcfa612X Refsource MISCREPORTFIXWEBPatch
- github.com/ruby/net-imap/commit/808001bc45c06f7297a7e96d341279e041a7f7f4X Refsource MISCREPORTFIXWEBPatch
- github.com/ruby/net-imap/commit/99f59eab6064955a23debd95410263ad144df758X Refsource MISCREPORTFIXWEBPatch
Show all 30 references
- github.com/ruby/net-imapPACKAGE