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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-25186— Net::IMAP 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.3.2版本至0.3.8之前版本、0.4.19版本和0.5.6版本存在安全漏洞,该漏洞源于响应解析器对uid-set数据的无限制转换,允许恶意服务器造成内存耗尽攻击。

CVSS 6.5 · Medium EPSS 0.63% · P49

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-25186

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 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. Starting in version 0.3.2 and prior to versions 0.3.8, 0.4.19, and 0.5.6, there is a possibility for denial of service by memory exhaustion in `net-imap`'s response parser. At any time while the client is connected, a malicious server can send can send highly compressed `uid-set` data which is automatically read by the client's receiver thread. The response parser uses `Range#to_a` to convert the `uid-set` data into arrays of integers, with no limitation on the expanded size of the ranges. Versions 0.3.8, 0.4.19, 0.5.6, and higher fix this issue. Additional details for proper configuration of fixed versions and backward compatibility are available in the GitHub Security Advisory.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
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.3.2版本至0.3.8之前版本、0.4.19版本和0.5.6版本存在安全漏洞,该漏洞源于响应解析器对uid-set数据的无限制转换,允许恶意服务器造成内存耗尽攻击。
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.3.2, < 0.3.8 -

II. Public POCs for CVE-2025-25186

# 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-25186

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

Patches & Fixes for CVE-2025-25186 (3)

Vendor Advisories for CVE-2025-25186 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-25186

No comments yet


Leave a comment