CVE-2025-25186: Net::IMAP vulnerable to possible DoS by memory exhaustion
ruby · net-imap
Affected: ruby net-imap · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 50% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- ruby · net-imap>= 0.3.2, < 0.3.8; >= 0.4.0, < 0.4.19; >= 0.5.0, < 0.5.6
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- ruby
- Published
- February 2025
CoverageNo articles yet
No CyberSIXT article names CVE-2025-25186 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-409cwe.mitre.org
- github.com/ruby/net-imap/security/advisories/GHSA-7fc5-f82f-cx69github.com
- github.com/ruby/net-imap/commit/70e3ddd071a94e450b3238570af482c2github.com
- github.com/ruby/net-imap/commit/c8c5a643739d2669f0c9a6bb9770d0c0github.com
- github.com/ruby/net-imap/commit/cb92191b1ddce2d978d01b56a0883b6egithub.com