{
  "threat_severity" : "Moderate",
  "public_date" : "2025-02-10T15:55:56Z",
  "bugzilla" : {
    "description" : "net-imap: Net::IMAP vulnerable to possible DoS by memory exhaustion",
    "id" : "2344680",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2344680"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-770",
  "details" : [ "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.", "A flaw was found in Ruby's net-imap library. In certain versions, there is a possibility for denial of service by memory exhaustion in the `net-imap` response parser. At any time while the client is connected, a malicious server can send highly compressed `uid-set` data, which is automatically read by the client's receiver thread. The response parser converts the `uid-set` data into arrays of integers with no limitation on the expanded size of the ranges, which can trigger memory exhaustion." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "release_date" : "2025-05-26T00:00:00Z",
    "advisory" : "RHSA-2025:8131",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10.0",
    "package" : "ruby-0:3.3.8-10.el10_0"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2025-07-02T00:00:00Z",
    "advisory" : "RHSA-2025:10217",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "ruby:3.3-8100020250414172630.489197e6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-06T00:00:00Z",
    "advisory" : "RHSA-2025:4493",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "ruby:3.3-9050020250415095239.9"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/cluster-logging-operator-bundle:v5.9.13-22"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/cluster-logging-rhel9-operator:v5.9.13-9"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/eventrouter-rhel9:v0.4.0-363"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/fluentd-rhel9:v5.9.13-5"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/log-file-metric-exporter-rhel9:v1.1.0-346"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/logging-loki-rhel9:v3.3.2-36"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/logging-view-plugin-rhel9:v5.9.13-7"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/loki-operator-bundle:v5.9.13-20"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/loki-rhel9-operator:v5.9.13-9"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/lokistack-gateway-rhel9:v0.1.0-767"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/opa-openshift-rhel9:v0.1.0-383"
  }, {
    "product_name" : "RHOL-5.9-RHEL-9",
    "release_date" : "2025-04-16T00:00:00Z",
    "advisory" : "RHSA-2025:3906",
    "cpe" : "cpe:/a:redhat:logging:5.9::el9",
    "package" : "openshift-logging/vector-rhel9:v0.34.1-37"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat 3scale API Management Platform 2",
    "fix_state" : "Will not fix",
    "package_name" : "3scale-amp-zync-container",
    "cpe" : "cpe:/a:redhat:red_hat_3scale_amp:2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Affected",
    "package_name" : "rhel10-beta/flatpak-sdk",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "ruby",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "ruby",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Out of support scope",
    "package_name" : "ruby:2.5/ruby",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Out of support scope",
    "package_name" : "ruby:3.1/ruby",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "rhel9/ruby-30",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "rhel9/ruby-31",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Affected",
    "package_name" : "rhel9/ruby-33",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "ruby",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "ruby:3.1/ruby",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "ubi9/ruby-30",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "ubi9/ruby-31",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Affected",
    "package_name" : "ubi9/ruby-33",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2025-25186\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-25186\nhttps://github.com/ruby/net-imap/commit/70e3ddd071a94e450b3238570af482c296380b35\nhttps://github.com/ruby/net-imap/commit/c8c5a643739d2669f0c9a6bb9770d0c045fd74a3\nhttps://github.com/ruby/net-imap/commit/cb92191b1ddce2d978d01b56a0883b6ecf0b1022\nhttps://github.com/ruby/net-imap/security/advisories/GHSA-7fc5-f82f-cx69" ],
  "name" : "CVE-2025-25186",
  "csaw" : false
}