Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 66%

CVE-2026-42246: CWE-392: Missing Report of Error Condition in ruby net-imap

0
High
Published: 05/09/2026 (05/09/2026, 19:33:17 UTC)
Source: CVE Database V5
Vendor/Project: ruby
Product: net-imap

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 v4.0

Score 7.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

Affected versions
<0.3.10

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/17/2026, 10:08:28 UTC

Technical Analysis

The net-imap Ruby library implements IMAP client functionality. Versions before 0.3.10, 0.4.24, 0.5.14, and 0.6.4 contain a vulnerability where the starttls method can return a successful status without initiating TLS encryption, due to missing error reporting (CWE-392). This flaw enables a man-in-the-middle attacker to intercept communications that are expected to be encrypted. The vulnerability is fixed in the mentioned versions.

Potential Impact

An attacker positioned as a man-in-the-middle can cause the net-imap client to believe TLS encryption has started when it has not, potentially exposing sensitive email data transmitted over the network. This undermines confidentiality and integrity of the communication channel. No known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade net-imap to version 0.3.10, 0.4.24, 0.5.14, or 0.6.4 or later, where this vulnerability has been patched. Patch status is confirmed by the version fixes noted in the advisory. No additional mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-25T05:37:12.118Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69ff93c0cbff5d86106e4582

Added to database: 05/09/2026, 20:06:24 UTC

Last enriched: 05/17/2026, 10:08:28 UTC

Last updated: 06/28/2026, 08:51:25 UTC

Views: 191

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses