Skip to content
pkgseek
Back to CVE search

CVE-2025-27220

medium · 5.3

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): * CGI: ReDoS in CGI::Util#escapeElement (CVE-2025-27220) * CGI: Denial of Service in CGI::Cookie.parse (CVE-2025-27219) 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.

First indexed 3/4/2025View on NVD

Advisory Facts

Markdown

CVE-2025-27220 is rated MEDIUM (5.3), with 124 indexed affected package builds across 6 distributions.

Severity / Score
MEDIUM (5.3)
Affected builds
124
Affected distros
6
Distros with fixed_in
AlmaLinux, openSUSE, Oracle Linux, Red Hat Enterprise Linux, Rocky Linux
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2025-27220?locale=en

Distribution-aware status

6
Distributions
124
Package/release records
10
Vendor advisories
112
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

124 affected package/release combinations
ruby2.5-devel-extra
15.6aarch64, ppc64le, s390x, x86_64
2.5.9-150000.4.36.1Fixed in 2.5.9-150000.4.41.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update ruby2.5-devel-extra
ruby2.5-doc-ri
15.6noarch
2.5.9-150000.4.36.1Fixed in 2.5.9-150000.4.41.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update ruby2.5-doc-ri
rubygem-abrt
8noarch
0.3.0-4.module+el8.10.0+90367+ae9e8511Fixed in 0.4.0-1.module+el8.7.0+20780+b11ff321
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-abrt
rubygem-abrt-doc
8noarch
0.3.0-4.module+el8.10.0+90367+ae9e8511Fixed in 0.4.0-1.module+el8.7.0+20780+b11ff321
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-abrt-doc
rubygem-mysql2
8x86_64
0.4.10-4.module+el8.9.0+90042+a65659a6Fixed in 0.5.3-2.module+el8.7.0+20780+b11ff321
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-mysql2
rubygem-mysql2-doc
8noarch
0.4.10-4.module+el8.9.0+90042+a65659a6Fixed in 0.5.3-2.module+el8.7.0+20780+b11ff321
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-mysql2-doc
rubygem-pg
8x86_64
1.2.3-1.module+el8.10.0+90343+d5e92a1dFixed in 1.3.2-1.module+el8.7.0+20780+b11ff321
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-pg
rubygem-pg-doc
8noarch
1.2.3-1.module+el8.10.0+90343+d5e92a1dFixed in 1.3.2-1.module+el8.7.0+20780+b11ff321
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-pg-doc
rubygem-mysql2
9x86_64
0.5.3-12.el9Fixed in 0.5.4-1.module+el9.1.0+20815+286161bd
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-mysql2
rubygem-pg
9x86_64
1.2.3-7.el9Fixed in 1.3.5-1.module+el9.1.0+20815+286161bd
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-pg
rubygem-mysql2
9.8x86_64
0.5.3-12.el9Fixed in 0.5.4-1.module+el9.1.0+15737+76195479
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-mysql2
rubygem-pg
9.8x86_64
1.2.3-7.el9Fixed in 1.3.5-1.module+el9.1.0+15737+76195479
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-pg
rubygem-bigdecimal
9aarch64, i686, x86_64
3.1.5-11.module+el9.9.0+40504+96efb9a9Fixed in 0:3.1.7-146.module+el9.5.0+31847+8b291b93
rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/2/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-bigdecimal
rubygem-bundler
9noarch
2.5.22-11.module+el9.9.0+40504+96efb9a9Fixed in 2.3.27-146.module+el9.6.0+31865+0893c253
rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 11/30/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-bundler
rubygem-io-console
9aarch64, i686, x86_64
0.7.1-11.module+el9.9.0+40504+96efb9a9Fixed in 0.5.11-146.module+el9.6.0+31865+0893c253
rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/3/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-io-console
rubygem-irb
9noarch
1.13.1-11.module+el9.9.0+40504+96efb9a9Fixed in 1.4.1-146.module+el9.6.0+31865+0893c253
rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 11/30/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/2/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/4/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-irb
rubygem-json
9aarch64, i686, x86_64
2.7.2-11.module+el9.9.0+40504+96efb9a9Fixed in 2.6.1-146.module+el9.6.0+31865+0893c253
rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/3/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/2/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/4/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-json
rubygem-power_assert
9noarch
2.0.3-11.module+el9.9.0+40504+96efb9a9Fixed in 2.0.1-146.module+el9.6.0+31865+0893c253
rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 11/25/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/2/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-power_assert
rubygem-rbs
9aarch64, i686, noarch, x86_64
1.4.0-171.el9_9Fixed in 0:3.0.7-165.el9_5
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rbs
rubygem-rss
9noarch
0.3.1-11.module+el9.9.0+40504+96efb9a9Fixed in 0.3.1-146.module+el9.6.0+31865+0893c253
rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 11/27/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/1/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/2/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/3/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/4/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rss
rubygem-typeprof
9noarch
0.21.9-11.module+el9.9.0+40504+96efb9a9Fixed in 0:3.0.7-165.el9_5
rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4487· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

rockyRLSA-2025:4488· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-typeprof

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.