CVE-2026-42246: ruby net-imap Missing Report of Error Condition
Vulnerability summary
CVE-2026-42246 is a high (CVSS 7.6) Missing Report of Error Condition vulnerability in ruby net-imap. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 22.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 23 · Related 5Timeline
- 09-05-2026PublishedVulnerability first disclosed.
- 24-08-2026Last modifiedVulnerability information updated.
Description
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4, a man-in-the-middle attacker can cause Net::IMAP#starttls to return "successfully", without starting TLS. This issue has been patched in versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4.
CVSS metrics
10 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · RubygemsEcosystem advisory · calculated7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- NVDNIST7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/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 · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- NVDNIST7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
0.00 pp
From 0.31% on 20-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-392Missing Report of Error ConditionThe product encounters an error but does not provide a status code or return value to indicate that an error has occurred.
- CWE-393Return of Wrong Status CodeA function or operation returns an incorrect return value or status code that does not indicate the true result of execution, causing the product to modify its behavior based on the incorrect result.
- CWE-636Not Failing Securely ('Failing Open')When the product encounters an error condition or failure, its design requires it to fall back to a state that is less secure than other options that are available, such as selecting the weakest encryption algorithm or using the most permissive access control restrictions.
- CWE-754Improper Check for Unusual or Exceptional ConditionsThe product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.
- CWE-841Improper Enforcement of Behavioral WorkflowThe product supports a session in which more than one behavior must be performed by an actor, but it does not properly ensure that the actor performs the behaviors in the required sequence.
- CWE-325Missing Cryptographic StepThe product does not implement a required step in a cryptographic algorithm, resulting in weaker encryption than advertised by the algorithm.
Affected systems
Chainguard60 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)
Wolfi16 products
- jruby-10.1< 10.1.1.0-r1
- jruby-9.4< 9.4.15.0-r1
- kube-fluentd-operator< 1.18.2-r63
- logstash-9.3< 9.3.4-r1
- logstash-9.3-iamguarded-compat< 9.3.4-r1
Ubuntu7 products
- jrubyAll versions (No fix recorded)
- ruby2.3< 2.3.1-2~ubuntu16.04.16+esm14
- ruby2.5< 2.5.1-1ubuntu1.16+esm8
- ruby2.7< 2.7.0-5ubuntu1.18+esm5
- ruby3.0< 3.0.2-7ubuntu2.13
Debian2 products
- ruby3.1All versions (No fix recorded)
- ruby3.3All versions (No fix recorded)
Ruby1 product
- net-imap< 0.3.10 | ≥ 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 | < 0.3.10
6 vendors · 87 products
References
43 links- github.com/ruby/net-imap/security/advisories/GHSA-vcgp-9326-pqcpX Refsource CONFIRMREPORTAdvisoryWEBMitigationVendor Advisory
- github.com/ruby/net-imap/commit/0ede4c40b1523dfeaf95777b2678e54cc0fd9618X Refsource MISCREPORTFIXWEBPatch
- github.com/ruby/net-imap/commit/24a4e770b43230286a05aa2a9746cdbb3eb8485eX Refsource MISCREPORTFIXWEBPatch
- github.com/ruby/net-imap/commit/97e2488fb5401a1783bddd959dde007d9fbce42cX Refsource MISCREPORTFIXWEBPatch
- github.com/ruby/net-imap/commit/f79d35bf5833f186e81044c57c843eda30c873daX Refsource MISCREPORTFIXWEBPatch
Show all 43 references
- github.com/ruby/net-imapPACKAGE