6.5

CVE-2025-25186: ruby net-imap Uncontrolled Resource Consumption

CVSS: 6.5v3.1MediumDeferred
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 49% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
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 listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · 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

49%

Versus all other CVEs

30-day change

0.00 pp

From 0.63% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.63%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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.1All 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