Skip to content
Connect AISign inSign up free
CVE-2025-251866.5MediumCWE-409

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.

0.6%probability of exploitation in the next 30 days
50th percentile
050100

Higher than 50% of scored CVEs

6.5MediumCVSS 3.1
LowMedium

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.

Open the Atlas
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