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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-43857— net-imap rubygem vulnerable to possible DoS by memory exhaustion

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.5.7之前版本、0.4.20之前版本、0.3.9之前版本和0.2.5之前版本。

AI Predicted 5.3 Difficulty: Moderate EPSS 0.49% · P41
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-43857

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 rubygem vulnerable to possible DoS by memory exhaustion
Source: CVE Program / CVE List V5
Vulnerability Description
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5, there is a possibility for denial of service by memory exhaustion when net-imap reads server responses. At any time while the client is connected, a malicious server can send can send a "literal" byte count, which is automatically read by the client's receiver thread. The response reader immediately allocates memory for the number of bytes indicated by the server response. This should not be an issue when securely connecting to trusted IMAP servers that are well-behaved. It can affect insecure connections and buggy, untrusted, or compromised servers (for example, connecting to a user supplied hostname). This issue has been patched in versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5.
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:H/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.5.7之前版本、0.4.20之前版本、0.3.9之前版本和0.2.5之前版本。
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.5.0, < 0.5.7 -

II. Public POCs for CVE-2025-43857

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-43857

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

Patches & Fixes for CVE-2025-43857 (5)

Vendor Advisories for CVE-2025-43857 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-43857

No comments yet


Leave a comment