CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HMedium (6.5) in ruby net-imap. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in net-imap 0.3.8, 0.4.19, 0.5.6.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:Hnet-imap (RubyGems): fixed in 0.3.8, 0.4.19, 0.5.6Explain CVE-2025-25186 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-25186?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-25186?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-25186 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| ruby net-imap | >= 0.3.2, < 0.3.8 |
| ruby net-imap | >= 0.4.0, < 0.4.19 |
| ruby net-imap | >= 0.5.0, < 0.5.6 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-7fc5-f82f-cx69 | RubyGems | net-imap | >=0.3.2 <0.3.8 | 0.3.8 |
| GHSA-7fc5-f82f-cx69 | RubyGems | net-imap | >=0.4.0 <0.4.19 | 0.4.19 |
| GHSA-7fc5-f82f-cx69 | RubyGems | net-imap | >=0.5.0 <0.5.6 | 0.5.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | ruby3.1 | no fix listed | DEBIAN-CVE-2025-25186 |
| Debian | 13, 14 | ruby3.3 | 3.3.8-1 | DEBIAN-CVE-2025-25186 |
| Ubuntu | 20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.18 | USN-7418-1 |
| Ubuntu | 22.04:LTS | ruby3.0 | 3.0.2-7ubuntu2.10 | USN-7418-1 |
| Ubuntu | 24.04:LTS | ruby3.2 | 3.2.3-1ubuntu0.24.04.5 | UBUNTU-CVE-2025-25186 USN-7418-1 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.3.8-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21226+b78a28c4 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.5-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bundler | 0:2.5.22-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.7.1-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-irb | 0:1.13.1-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-json, rubygem-json-debuginfo | 0:2.7.2-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-minitest | 0:5.20.0-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-mysql2, rubygem-mysql2-doc, rubygem-mysql2-debuginfo and 1 more | 0:0.5.5-1.module+el8.10.0+21226+b78a28c4 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-pg, rubygem-pg-doc, rubygem-pg-debuginfo and 1 more | 0:1.5.4-1.module+el8.10.0+21226+b78a28c4 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-power_assert | 0:2.0.3-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-psych, rubygem-psych-debuginfo | 0:5.1.2-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| 47 more for Red Hat in the JSON and on Red Hat's page. | ||||
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 3 more | 3.3.8-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3799+191214cc | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.1.5-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-bundler | 2.5.22-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-io-console | 0.7.1-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-irb | 1.13.1-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-json | 2.7.2-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-minitest | 5.20.0-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-mysql2, rubygem-mysql2-doc | 0.5.5-1.module_el8.10.0+3799+191214cc | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-pg, rubygem-pg-doc | 1.5.4-1.module_el8.10.0+3799+191214cc | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-power_assert | 2.0.3-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-psych | 5.1.2-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| 21 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | ruby | 0:3.3.8-4.module+el8.10.0+2004+fd6e8d72 | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1679+61871737 | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1741+bdb5b6ca | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1820+f3fffb92 | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1826+b62220b4 | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1827+16ecb9d2 | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.5.0+668+665814fa | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.9.0+1537+0b2034bd | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.5-1.module+el8.10.0+1679+61871737 | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.5-1.module+el8.10.0+1827+16ecb9d2 | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-pg | 0:1.5.4-1.module+el8.10.0+1679+61871737 | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-pg | 0:1.5.4-1.module+el8.10.0+1827+16ecb9d2 | RLSA-2025:10217 |
| 4 more for Rocky Linux in the JSON. | ||||
| Azure Linux | 3 | ruby | 3.3.5-3 | AZL-56555 |
| Alpaquita | stream | ruby-net-imap | 0.5.6-r0 | BELL-CVE-2025-25186 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpaquita.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | ruby-0:3.3.8-10.el10_0 | Fixed 2025-05-26 | RHSA-2025:8131 |
| Red Hat Enterprise Linux 8 | ruby:3.3-8100020250414172630.489197e6 | Fixed 2025-07-02 | RHSA-2025:10217 |
| Red Hat Enterprise Linux 9 | ruby:3.3-9050020250415095239.9 | Fixed 2025-05-06 | RHSA-2025:4493 |
| RHOL-5.9-RHEL-9 | openshift-logging/cluster-logging-operator-bundle:v5.9.13-22 | Fixed 2025-04-16 | RHSA-2025:3906 |
| RHOL-5.9-RHEL-9 | openshift-logging/cluster-logging-rhel9-operator:v5.9.13-9 | Fixed 2025-04-16 | RHSA-2025:3906 |
| RHOL-5.9-RHEL-9 | openshift-logging/eventrouter-rhel9:v0.4.0-363 | Fixed 2025-04-16 | RHSA-2025:3906 |
| RHOL-5.9-RHEL-9 | openshift-logging/fluentd-rhel9:v5.9.13-5 | Fixed 2025-04-16 | RHSA-2025:3906 |
| RHOL-5.9-RHEL-9 | openshift-logging/log-file-metric-exporter-rhel9:v1.1.0-346 | Fixed 2025-04-16 | RHSA-2025:3906 |
| RHOL-5.9-RHEL-9 | openshift-logging/logging-loki-rhel9:v3.3.2-36 | Fixed 2025-04-16 | RHSA-2025:3906 |
| RHOL-5.9-RHEL-9 | openshift-logging/logging-view-plugin-rhel9:v5.9.13-7 | Fixed 2025-04-16 | RHSA-2025:3906 |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel8 | Will not fix | |
| Red Hat Enterprise Linux 10 | rhel10-beta/flatpak-sdk | Affected | |
| Red Hat Enterprise Linux 6 | ruby | Out of support scope | |
| Red Hat Enterprise Linux 7 | ruby | Out of support scope | |
| Red Hat Enterprise Linux 8 | ruby:2.5/ruby | Out of support scope | |
| Red Hat Enterprise Linux 8 | ruby:3.1/ruby | Out of support scope | |
| Red Hat Enterprise Linux 9 | rhel9/ruby-30 | Not affected | |
| Red Hat Enterprise Linux 9 | rhel9/ruby-31 | Not affected | |
| Red Hat Enterprise Linux 9 | rhel9/ruby-33 | Affected | |
| Red Hat Enterprise Linux 9 | ruby | Not affected | |
| 9 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-25186.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).