Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-42245— net-imap: Quadratic complexity when reading response literals

Quick assessment

Affected
ruby net-imap
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Net::IMAP是Ruby开源的一个消息访问协议的 Ruby 客户端 api。 Net::IMAP 0.4.24之前版本、0.5.14之前版本和0.6.4之前版本存在安全漏洞,该漏洞源于ResponseReader读取包含多个字符串字面量的大响应时具有二次时间复杂度,可能导致拒绝服务攻击。

AI Predicted 5.9 Difficulty: Trivial EPSS 0.70% · P52

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 3

VendorProduct Version RangeStatus
ruby net-imap < 0.4.24 affected
>= 0.5.0, < 0.5.14 affected
>= 0.6.0, < 0.6.4 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-42245

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
net-imap: Quadratic complexity when reading response literals
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
算法复杂性
Source: CVE Program / CVE List V5
Vulnerability Title
Net::IMAP 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Net::IMAP是Ruby开源的一个消息访问协议的 Ruby 客户端 api。 Net::IMAP 0.4.24之前版本、0.5.14之前版本和0.6.4之前版本存在安全漏洞,该漏洞源于ResponseReader读取包含多个字符串字面量的大响应时具有二次时间复杂度,可能导致拒绝服务攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
ruby net-imap < 0.4.24 -

II. Public POCs for CVE-2026-42245

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42245

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-42245 (2)

Vendor Advisories for CVE-2026-42245 (1)

Vendor Pages for CVE-2026-42245 (1)

Other References for CVE-2026-42245 (1)

Same Patch Batch · ruby · 2026-05-09 · 5 CVEs total

CVE-2026-42246 7.6 HIGH net-imap vulnerable to STARTTLS stripping via invalid response timing
CVE-2026-42258 5.8 MEDIUM net-imap: Command Injection via unvalidated Symbol inputs
CVE-2026-42256 net-imap: Denial of service via high iteration count for `SCRAM-*` authentication
CVE-2026-42257 net-imap: Command Injection via "raw" arguments to multiple commands

IV. Related Vulnerabilities

V. Comments for CVE-2026-42245

No comments yet


Leave a comment