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.3%top 78%

CVE-2026-42256: CWE-1322: Use of Blocking Code in Single-threaded, Non-blocking Context in ruby net-imap

0
Medium
VulnerabilityCVE-2026-42256cvecve-2026-42256cwe-1322cwe-770
Published: 05/09/2026 (05/09/2026, 19:38:33 UTC)
Source: CVE Database V5
Vendor/Project: ruby
Product: net-imap

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

Score 6.0medium

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/17/2026, 10:43:46 UTC

Technical Analysis

The Ruby net-imap library, which implements IMAP client functionality, contains a vulnerability (CVE-2026-42256) in 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 using SCRAM-SHA1 or SCRAM-SHA256, a malicious IMAP server can send a large iteration count value causing the client to perform excessive computation, resulting in a computational denial-of-service (DoS). This arises from the use of blocking code in a single-threaded, non-blocking context (CWE-1322). The issue has been addressed in versions 0.4.24, 0.5.14, and 0.6.4.

Potential Impact

An attacker controlling an IMAP server can cause a client using vulnerable net-imap versions to consume excessive CPU resources during authentication, leading to a denial-of-service condition. This can degrade or halt client operations but does not involve code execution or data compromise. No known active exploitation has been reported.

Mitigation Recommendations

Upgrading net-imap to versions 0.4.24, 0.5.14, or 0.6.4 or later fully mitigates this vulnerability. Since these patched versions address the issue, users should apply these updates promptly. Patch status is confirmed by the version information in the advisory. No additional vendor advisory content is available to indicate alternative mitigations or that no action is required.

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-26T11:53:27.704Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69ff93c0cbff5d86106e458c

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

Last enriched: 05/17/2026, 10:43:46 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 131

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