---
title: "CVE-2025-25186"
canonical_url: "https://pkgseek.com/security/CVE-2025-25186"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2025-25186

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. Security Fix(es): * net-imap: Net::IMAP vulnerable to possible DoS by memory exhaustion (CVE-2025-25186) * CGI: Denial of Service in CGI::Cookie.parse (CVE-2025-27219) * uri: userinfo leakage in URI#join, URI#merge and URI#+ (CVE-2025-27221) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

CVE-2025-25186 is rated MEDIUM (6.5), with 172 indexed affected package builds across 4 distributions.

- **Severity / Score**: MEDIUM (6.5)
- **Affected builds**: 172
- **Affected distros**: 4
- **Distros with fixed_in**: Oracle Linux, Red Hat Enterprise Linux, Rocky Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 10 | ruby | 3.3.7-9.el10 | 3.3.8-10.el10_0 |
| Oracle Linux | 10 | ruby-bundled-gems | 3.3.7-9.el10 | 3.3.8-10.el10_0 |
| Oracle Linux | 10 | ruby-default-gems | 3.3.7-9.el10 | 3.3.8-10.el10_0 |
| Oracle Linux | 10 | ruby-devel | 3.3.7-9.el10 | 3.3.8-10.el10_0 |
| Oracle Linux | 10 | rubygem-bigdecimal | 3.1.5-9.el10 | 3.1.5-10.el10_0 |
| Oracle Linux | 10 | rubygem-bundler | 2.5.22-9.el10 | 2.5.22-10.el10_0 |
| Oracle Linux | 10 | rubygem-io-console | 0.7.1-9.el10 | 0.7.1-10.el10_0 |
| Oracle Linux | 10 | rubygem-irb | 1.13.1-9.el10 | 1.13.1-10.el10_0 |
| Oracle Linux | 10 | rubygem-json | 2.7.2-9.el10 | 2.7.2-10.el10_0 |
| Oracle Linux | 10 | rubygem-minitest | 5.20.0-9.el10 | 5.20.0-10.el10_0 |
| Oracle Linux | 10 | rubygem-power_assert | 2.0.3-9.el10 | 2.0.3-10.el10_0 |
| Oracle Linux | 10 | rubygem-psych | 5.1.2-9.el10 | 5.1.2-10.el10_0 |
| Oracle Linux | 10 | rubygem-racc | 1.7.3-9.el10 | 1.7.3-10.el10_0 |
| Oracle Linux | 10 | rubygem-rake | 13.1.0-9.el10 | 13.1.0-10.el10_0 |
| Oracle Linux | 10 | rubygem-rbs | 3.4.0-9.el10 | 3.4.0-10.el10_0 |
| Oracle Linux | 10 | rubygem-rdoc | 6.6.3.1-9.el10 | 6.6.3.1-10.el10_0 |
| Oracle Linux | 10 | rubygem-rexml | 3.3.9-9.el10 | 3.3.9-10.el10_0 |
| Oracle Linux | 10 | rubygem-rss | 0.3.1-9.el10 | 0.3.1-10.el10_0 |
| Oracle Linux | 10 | rubygems | 3.5.22-9.el10 | 3.5.22-10.el10_0 |
| Oracle Linux | 10 | rubygems-devel | 3.5.22-9.el10 | 3.5.22-10.el10_0 |
| Oracle Linux | 10 | rubygem-test-unit | 3.6.1-9.el10 | 3.6.1-10.el10_0 |
| Oracle Linux | 10 | rubygem-typeprof | 0.21.9-9.el10 | 0.21.9-10.el10_0 |
| Oracle Linux | 10 | ruby-libs | 3.3.7-9.el10 | 3.3.8-10.el10_0 |
| Oracle Linux | 8 | ruby | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.3.8-4.module+el8.10.0+90625+b4030d02 |
| Oracle Linux | 8 | ruby-bundled-gems | 3.3.12-8.module+el8.10.0+90981+a74aefb6 | 3.3.8-4.module+el8.10.0+90625+b4030d02 |
| Oracle Linux | 8 | ruby-default-gems | 3.3.12-8.module+el8.10.0+90981+a74aefb6 | 3.3.8-4.module+el8.10.0+90625+b4030d02 |
| Oracle Linux | 8 | ruby-devel | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.3.8-4.module+el8.10.0+90625+b4030d02 |
| Oracle Linux | 8 | ruby-doc | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.3.8-4.module+el8.10.0+90625+b4030d02 |
| Oracle Linux | 8 | rubygem-abrt | 0.3.0-4.module+el8.10.0+90367+ae9e8511 | 0.4.0-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-abrt-doc | 0.3.0-4.module+el8.10.0+90367+ae9e8511 | 0.4.0-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-bigdecimal | 1.3.4-114.module+el8.10.0+91057+c9074c35 | 3.1.5-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-bundler | 2.5.22-8.module+el8.10.0+90981+a74aefb6 | 2.5.22-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-io-console | 0.4.6-114.module+el8.10.0+91057+c9074c35 | 0.7.1-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-irb | 1.13.1-8.module+el8.10.0+90981+a74aefb6 | 1.13.1-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-json | 2.1.0-114.module+el8.10.0+91057+c9074c35 | 2.7.2-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-minitest | 5.10.3-114.module+el8.10.0+91057+c9074c35 | 5.20.0-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-mysql2 | 0.5.3-3.module+el8.10.0+90574+609b2fe6 | 0.5.5-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-mysql2-doc | 0.5.3-3.module+el8.10.0+90574+609b2fe6 | 0.5.5-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-pg | 1.2.3-1.module+el8.10.0+90343+d5e92a1d | 1.5.4-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-pg-doc | 1.2.3-1.module+el8.10.0+90343+d5e92a1d | 1.5.4-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-power_assert | 1.1.1-114.module+el8.10.0+91057+c9074c35 | 2.0.3-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-psych | 3.0.2-114.module+el8.10.0+91057+c9074c35 | 5.1.2-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-racc | 1.7.3-8.module+el8.10.0+90981+a74aefb6 | 1.7.3-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-rake | 12.3.3-114.module+el8.10.0+91057+c9074c35 | 13.1.0-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-rbs | 3.4.0-8.module+el8.10.0+90981+a74aefb6 | 3.4.0-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-rdoc | 6.0.1.1-114.module+el8.10.0+91057+c9074c35 | 6.6.3.1-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-rexml | 3.4.4-8.module+el8.10.0+90981+a74aefb6 | 3.4.4-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-rss | 0.3.1-8.module+el8.10.0+90981+a74aefb6 | 0.3.1-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygems | 2.7.6.3-114.module+el8.10.0+91057+c9074c35 | 3.5.22-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygems-devel | 2.7.6.3-114.module+el8.10.0+91057+c9074c35 | 3.5.22-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-test-unit | 3.2.7-114.module+el8.10.0+91057+c9074c35 | 3.6.1-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | rubygem-typeprof | 0.21.9-8.module+el8.10.0+90981+a74aefb6 | 0.21.9-9.module+el8.10.0+91044+eb2de09c |
| Oracle Linux | 8 | ruby-libs | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.3.8-4.module+el8.10.0+90625+b4030d02 |
| Oracle Linux | 9 | ruby | 3.3.12-9.module+el9.8.0+91048+2b421f43 | 4.0.6-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | ruby-bundled-gems | 3.3.12-9.module+el9.8.0+91048+2b421f43 | 4.0.6-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | ruby-default-gems | 3.3.12-9.module+el9.8.0+91048+2b421f43 | 4.0.6-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | ruby-devel | 3.3.12-9.module+el9.8.0+91048+2b421f43 | 4.0.6-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | ruby-doc | 3.3.12-9.module+el9.8.0+91048+2b421f43 | 4.0.6-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-bigdecimal | 3.1.5-9.module+el9.8.0+91048+2b421f43 | 4.0.1-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-bundler | 2.5.22-9.module+el9.8.0+91048+2b421f43 | 4.0.16-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-io-console | 0.7.1-9.module+el9.8.0+91048+2b421f43 | 0.8.2-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-irb | 1.13.1-9.module+el9.8.0+91048+2b421f43 | 1.16.0-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-json | 2.7.2-9.module+el9.8.0+91048+2b421f43 | 2.7.2-9.module+el9.8.0+91048+2b421f43 |
| Oracle Linux | 9 | rubygem-minitest | 5.20.0-9.module+el9.8.0+91048+2b421f43 | 6.0.0-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-mysql2 | 0.5.5-3.module+el9.8.0+90984+bac48209 | 0.5.7-1.module+el9.8.0+90938+383082f5 |
| Oracle Linux | 9 | rubygem-mysql2-doc | 0.5.5-3.module+el9.8.0+90984+bac48209 | 0.5.7-1.module+el9.8.0+90938+383082f5 |
| Oracle Linux | 9 | rubygem-pg | 1.5.4-2.module+el9.8.0+90984+bac48209 | 1.6.3-1.module+el9.8.0+90938+383082f5 |
| Oracle Linux | 9 | rubygem-pg-doc | 1.5.4-2.module+el9.8.0+90984+bac48209 | 1.6.3-1.module+el9.8.0+90938+383082f5 |
| Oracle Linux | 9 | rubygem-power_assert | 2.0.3-9.module+el9.8.0+91048+2b421f43 | 3.0.1-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-psych | 5.1.2-9.module+el9.8.0+91048+2b421f43 | 5.3.1-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-racc | 1.7.3-9.module+el9.8.0+91048+2b421f43 | 1.8.1-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-rake | 13.1.0-9.module+el9.8.0+91048+2b421f43 | 13.3.1-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-rbs | 3.4.0-9.module+el9.8.0+91048+2b421f43 | 3.4.0-9.module+el9.8.0+91048+2b421f43 |
| Oracle Linux | 9 | rubygem-rdoc | 6.6.3.1-9.module+el9.8.0+91048+2b421f43 | 7.0.4-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-rexml | 3.4.4-9.module+el9.8.0+91048+2b421f43 | 3.4.4-9.module+el9.8.0+91048+2b421f43 |
| Oracle Linux | 9 | rubygem-rss | 0.3.1-9.module+el9.8.0+91048+2b421f43 | 0.3.2-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygems | 3.5.22-9.module+el9.8.0+91048+2b421f43 | 4.0.16-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygems-devel | 3.5.22-9.module+el9.8.0+91048+2b421f43 | 4.0.16-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-test-unit | 3.6.1-9.module+el9.8.0+91048+2b421f43 | 3.7.5-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | rubygem-typeprof | 0.21.9-9.module+el9.8.0+91048+2b421f43 | 0.31.1-35.module+el9.8.0+91047+ad9c8476 |
| Oracle Linux | 9 | ruby-libs | 3.3.12-9.module+el9.8.0+91048+2b421f43 | 4.0.6-35.module+el9.8.0+91047+ad9c8476 |
| Red Hat Enterprise Linux | 10.2 | ruby | 3.3.7-9.el10 | 3.3.8-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | ruby-bundled-gems | 3.3.7-9.el10 | 3.3.8-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | ruby-default-gems | 3.3.7-9.el10 | 3.3.8-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | ruby-devel | 3.3.7-9.el10 | 3.3.8-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-bigdecimal | 3.1.5-9.el10 | 3.1.5-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-bundler | 2.5.22-9.el10 | 2.5.22-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-io-console | 0.7.1-9.el10 | 0.7.1-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-irb | 1.13.1-9.el10 | 1.13.1-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-json | 2.7.2-9.el10 | 2.7.2-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-minitest | 5.20.0-9.el10 | 5.20.0-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-power_assert | 2.0.3-9.el10 | 2.0.3-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-psych | 5.1.2-9.el10 | 5.1.2-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-racc | 1.7.3-9.el10 | 1.7.3-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-rake | 13.1.0-9.el10 | 13.1.0-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-rbs | 3.4.0-9.el10 | 3.4.0-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-rdoc | 6.6.3.1-9.el10 | 6.6.3.1-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-rexml | 3.3.9-9.el10 | 3.3.9-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygem-rss | 0.3.1-9.el10 | 0.3.1-10.el10_0 |
| Red Hat Enterprise Linux | 10.2 | rubygems | 3.5.22-9.el10 | 3.5.22-10.el10_0 |

_Showing 100 of 172 total affected builds._
