net-imap: Missing Report of Error Condition
CVE-2026-42246 is a high-severity missing report of error condition vulnerability in net-imap from Ruby, with a CVSS 3.1 base score of 7.4 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected net-imap versions: < 0.3.10; >= 0.4.0, < 0.4.24; >= 0.5.0, < 0.5.14, and others listed below. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.31% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Net to 0.3.10 or 0.4.24 or 0.5.14 or 0.6.4, whichever matches your release line, or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 4.0 | 7.6 | High | CNA (github.com) |
| CVSS 3.1 | 7.4 | High | NVD |
| CVSS 3.1 | 7.4 | High | CNA |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Missing Report of Error Condition
The product encounters an error but does not provide a status code or return value to indicate that an error has occurred.
More Missing Report of Error Condition vulnerabilities (CWE-392)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
- github.com/ruby/net-imap/commit/0ede4c40b1523dfeaf95777b2678e54cc0fd9618
- github.com/ruby/net-imap/commit/24a4e770b43230286a05aa2a9746cdbb3eb8485e
- github.com/ruby/net-imap/commit/97e2488fb5401a1783bddd959dde007d9fbce42c
- github.com/ruby/net-imap/commit/f79d35bf5833f186e81044c57c843eda30c873da
- github.com/ruby/net-imap/releases/tag/v0.3.10Release Notes
- github.com/ruby/net-imap/releases/tag/v0.4.24Release Notes
- github.com/ruby/net-imap/releases/tag/v0.5.14Release Notes
Other references
- access.redhat.com/errata/RHSA-2026:33462
- access.redhat.com/errata/RHSA-2026:33512
- access.redhat.com/errata/RHSA-2026:33514
- access.redhat.com/errata/RHSA-2026:33515
- access.redhat.com/errata/RHSA-2026:33540
- access.redhat.com/errata/RHSA-2026:33551
- access.redhat.com/errata/RHSA-2026:33552
- access.redhat.com/errata/RHSA-2026:33565
- access.redhat.com/errata/RHSA-2026:33576
- access.redhat.com/errata/RHSA-2026:33577
- access.redhat.com/errata/RHSA-2026:33630
- access.redhat.com/errata/RHSA-2026:33721
- access.redhat.com/errata/RHSA-2026:34076
- access.redhat.com/errata/RHSA-2026:35834
- access.redhat.com/errata/RHSA-2026:35866
Other vulnerabilities in net-imap
- 9.8 Critical severity
- 7.5 High severity
Recent Missing Report of Error Condition vulnerabilities
- 7.1 High severity
- 9.0 Critical severity
- 7.4 High severity
Spotted an error? Tell us.