6.5

CVE-2025-25186: Net::IMAP vulnerable to possible DoS by memory exhaustion

Deferred
AliasesUBUNTU-CVE-2025-25186DEBIAN-CVE-2025-25186CGA-3qfg-7gq3-j688
Published 10-02-2025Last modified 12-02-2025

Vulnerability summary

CVE-2025-25186 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in ruby net-imap. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 51.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.63%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 11

Timeline

  1. 10-02-2025
    PublishedVulnerability first disclosed.
  2. 12-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 7 sources · 2 versions

EPSS trend

Probability

0.63%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.63% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard26 products
  • kube-fluentd-operator< 1.18.2-r23
  • kube-fluentd-operator-compat< 1.18.2-r23
  • kube-fluentd-operator-default-config< 1.18.2-r23
  • kube-fluentd-operator-oci-entrypoint< 1.18.2-r23
  • logstash-8-with-output-opensearch< 8.17.2-r1
Wolfi8 products
  • kube-fluentd-operator< 1.18.2-r23
  • kube-fluentd-operator-compat< 1.18.2-r23
  • kube-fluentd-operator-default-config< 1.18.2-r23
  • kube-fluentd-operator-oci-entrypoint< 1.18.2-r23
  • logstash-8-with-output-opensearch< 8.17.2-r1
Debian2 products
  • ruby3.1< 3.1.7-1~deb12u2 | All versions (No fix recorded)
  • ruby3.3< 3.3.8-1
Ruby1 product
  • net-imap≥ 0.3.2, < 0.3.8 | ≥ 0.4.0, < 0.4.19 | ≥ 0.5.0, < 0.5.6
RubyGems1 product
  • net-imap≥ 0.3.2, < 0.3.8 | ≥ 0.4.0, < 0.4.19 | ≥ 0.5.0, < 0.5.6
Ubuntu1 product
  • ruby3.2< 3.2.3-1ubuntu0.24.04.5

6 vendors · 39 products

References

15 links
Show all 15 references