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…

CVE-2026-42245: CWE-407: Inefficient Algorithmic Complexity in ruby net-imap

0
Low
VulnerabilityCVE-2026-42245cvecve-2026-42245cwe-407
Published: Sat May 09 2026 (05/09/2026, 19:37:08 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.4.24, 0.5.14, and 0.6.4, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. A hostile server can send responses which are crafted to exhaust the client's CPU for a denial of service attack. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/09/2026, 20:21:41 UTC

Technical Analysis

The vulnerability in Ruby's net-imap library (CVE-2026-42245) arises from inefficient algorithmic complexity (CWE-407) in the ResponseReader when handling large IMAP responses with many string literals. This results in quadratic time complexity, allowing a malicious IMAP server to craft responses that exhaust the client's CPU resources, causing a denial of service. The flaw affects versions before 0.4.24, 0.5.14, and 0.6.4. The issue has been patched in these versions.

Potential Impact

A hostile IMAP server can exploit this vulnerability to cause excessive CPU consumption on the client running vulnerable net-imap versions, leading to denial of service. The CVSS 4.0 base score is 2.3, indicating low severity. There are no known exploits in the wild.

Mitigation Recommendations

This vulnerability has been patched in net-imap versions 0.4.24, 0.5.14, and 0.6.4. Users should upgrade to these or later versions to remediate the issue. Patch status is not explicitly stated in a vendor advisory but the fixed versions are known. No additional mitigation steps 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: 69ff93c0cbff5d86106e4579

Added to database: 5/9/2026, 8:06:24 PM

Last enriched: 5/9/2026, 8:21:41 PM

Last updated: 5/10/2026, 7:51:46 AM

Views: 15

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