Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-27220

published medium CVSS 3.1 · 4.0

CGI: ReDoS in CGI::Util#escapeElement

Title from Red Hat VEX

Published
03 Mar 2025, 00:00:00 UTC
Updated
03 Nov 2025, 21:13:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ruby-lang — CGI0 to < 0.3.5.1 · 0.3.6 to < 0.3.7 · 0.4.0 to < 0.4.2 · Other versions: unaffected Affected Not stated mitre
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-929 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 ruby Advisory build 3.1.7-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
Debian bullseye ruby2.7 Advisory build 2.7.4-1+deb11u5 DLA-4082-1
Oracle Linux 8 rubyaarch64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
AlmaLinux 8 ruby-bundled-gems Advisory build 3.1.7-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 ruby-default-gems Advisory build 3.1.7-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 ruby-devel Advisory build 3.1.7-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 ruby-doc Advisory build 3.1.7-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 ruby-libs Advisory build 3.1.7-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-abrt Advisory build 0.4.0-1.module_el8.9.0+3746+91b8233a ALSA-2025:4063
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.4.0-1.module_el8.10.0+3854+02eaa59a ALSA-2025:4063
AlmaLinux 8 rubygem-bigdecimal Advisory build 3.1.1-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-bundler Advisory build 2.3.27-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-io-console Advisory build 0.5.11-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-irb Advisory build 1.4.1-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-json Advisory build 2.6.1-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-minitest Advisory build 5.15.0-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-mysql2 Advisory build 0.5.3-3.module_el8.10.0+3854+02eaa59a ALSA-2025:4063
AlmaLinux 8 rubygem-mysql2 Advisory build 0.5.3-3.module_el8.9.0+3746+91b8233a ALSA-2025:4063
AlmaLinux 8 rubygem-mysql2-doc Advisory build 0.5.3-3.module_el8.10.0+3854+02eaa59a ALSA-2025:4063
AlmaLinux 8 rubygem-pg Advisory build 1.3.2-1.module_el8.10.0+3854+02eaa59a ALSA-2025:4063
AlmaLinux 8 rubygem-pg Advisory build 1.3.2-1.module_el8.9.0+3746+91b8233a ALSA-2025:4063
AlmaLinux 8 rubygem-pg-doc Advisory build 1.3.2-1.module_el8.10.0+3854+02eaa59a ALSA-2025:4063
AlmaLinux 8 rubygem-power_assert Advisory build 2.0.1-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-psych Advisory build 4.0.4-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-rake Advisory build 13.0.6-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-rbs Advisory build 2.7.0-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-rdoc Advisory build 6.4.1.1-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-rexml Advisory build 3.3.9-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-rss Advisory build 0.3.1-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-test-unit Advisory build 3.5.3-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygem-typeprof Advisory build 0.21.3-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygems Advisory build 3.3.27-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 8 rubygems-devel Advisory build 3.3.27-145.module_el8.10.0+3984+cf55e3df ALSA-2025:4063
AlmaLinux 9 rubygem-mysql2 Advisory build 0.5.4-1.module_el9.1.0+8+503f6fbd ALSA-2025:4488
AlmaLinux 9 rubygem-mysql2-doc Advisory build 0.5.4-1.module_el9.1.0+8+503f6fbd ALSA-2025:4488
AlmaLinux 9 rubygem-pg Advisory build 1.3.5-1.module_el9.1.0+8+503f6fbd ALSA-2025:4488
AlmaLinux 9 rubygem-pg-doc Advisory build 1.3.5-1.module_el9.1.0+8+503f6fbd ALSA-2025:4488
Oracle Linux 8 rubyx86_64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 ruby-bundled-gemsaarch64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 ruby-bundled-gemsx86_64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 ruby-default-gemsaarch64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 ruby-default-gemsx86_64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 ruby-develaarch64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 ruby-develx86_64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 ruby-docaarch64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 ruby-docx86_64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 ruby-libsaarch64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 ruby-libsx86_64 · ruby · 3.1b Advisory build 0:3.1.7-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-abrtaarch64 · ruby · 3.1b Advisory build 0:0.4.0-1.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-abrtx86_64 · ruby · 3.1b Advisory build 0:0.4.0-1.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-abrt-docaarch64 · ruby · 3.1b Advisory build 0:0.4.0-1.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-abrt-docx86_64 · ruby · 3.1b Advisory build 0:0.4.0-1.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-bigdecimalaarch64 · ruby · 3.1b Advisory build 0:3.1.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-bigdecimalx86_64 · ruby · 3.1b Advisory build 0:3.1.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-bundleraarch64 · ruby · 3.1b Advisory build 0:2.3.27-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-bundlerx86_64 · ruby · 3.1b Advisory build 0:2.3.27-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-io-consoleaarch64 · ruby · 3.1b Advisory build 0:0.5.11-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-io-consolex86_64 · ruby · 3.1b Advisory build 0:0.5.11-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-irbaarch64 · ruby · 3.1b Advisory build 0:1.4.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-irbx86_64 · ruby · 3.1b Advisory build 0:1.4.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-jsonaarch64 · ruby · 3.1b Advisory build 0:2.6.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-jsonx86_64 · ruby · 3.1b Advisory build 0:2.6.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-minitestaarch64 · ruby · 3.1b Advisory build 0:5.15.0-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-minitestx86_64 · ruby · 3.1b Advisory build 0:5.15.0-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-mysql2aarch64 · ruby · 3.1b Advisory build 0:0.5.3-2.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-mysql2x86_64 · ruby · 3.1b Advisory build 0:0.5.3-2.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-mysql2-docaarch64 · ruby · 3.1b Advisory build 0:0.5.3-2.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-mysql2-docx86_64 · ruby · 3.1b Advisory build 0:0.5.3-2.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-pgaarch64 · ruby · 3.1b Advisory build 0:1.3.2-1.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-pgx86_64 · ruby · 3.1b Advisory build 0:1.3.2-1.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-pg-docaarch64 · ruby · 3.1b Advisory build 0:1.3.2-1.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-pg-docx86_64 · ruby · 3.1b Advisory build 0:1.3.2-1.module+el8.7.0+20780+b11ff321 ELSA-2025-4063
Oracle Linux 8 rubygem-power_assertaarch64 · ruby · 3.1b Advisory build 0:2.0.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-power_assertx86_64 · ruby · 3.1b Advisory build 0:2.0.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-psychaarch64 · ruby · 3.1b Advisory build 0:4.0.4-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-psychx86_64 · ruby · 3.1b Advisory build 0:4.0.4-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-rakeaarch64 · ruby · 3.1b Advisory build 0:13.0.6-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-rakex86_64 · ruby · 3.1b Advisory build 0:13.0.6-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-rbsaarch64 · ruby · 3.1b Advisory build 0:2.7.0-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-rbsx86_64 · ruby · 3.1b Advisory build 0:2.7.0-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-rdocaarch64 · ruby · 3.1b Advisory build 0:6.4.1.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-rdocx86_64 · ruby · 3.1b Advisory build 0:6.4.1.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-rexmlaarch64 · ruby · 3.1b Advisory build 0:3.3.9-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-rexmlx86_64 · ruby · 3.1b Advisory build 0:3.3.9-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-rssaarch64 · ruby · 3.1b Advisory build 0:0.3.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-rssx86_64 · ruby · 3.1b Advisory build 0:0.3.1-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-test-unitaarch64 · ruby · 3.1b Advisory build 0:3.5.3-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-test-unitx86_64 · ruby · 3.1b Advisory build 0:3.5.3-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-typeprofaarch64 · ruby · 3.1b Advisory build 0:0.21.3-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygem-typeprofx86_64 · ruby · 3.1b Advisory build 0:0.21.3-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygemsaarch64 · ruby · 3.1b Advisory build 0:3.3.27-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygemsx86_64 · ruby · 3.1b Advisory build 0:3.3.27-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygems-develaarch64 · ruby · 3.1b Advisory build 0:3.3.27-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 8 rubygems-develx86_64 · ruby · 3.1b Advisory build 0:3.3.27-145.module+el8.10.0+90550+7d8a4a30 ELSA-2025-4063
Oracle Linux 9 rubyaarch64 Advisory build 0:3.0.7-165.el9_5 ELSA-2025-4487
Oracle Linux 9 rubyaarch64 · ruby · 3.1b Advisory build 0:3.1.7-146.module+el9.5.0+90564+273a1edd ELSA-2025-4488
Oracle Linux 9 rubyx86_64 Advisory build 0:3.0.7-165.el9_5 ELSA-2025-4487
Oracle Linux 9 rubyx86_64 · ruby · 3.1b Advisory build 0:3.1.7-146.module+el9.5.0+90564+273a1edd ELSA-2025-4488
Oracle Linux 9 ruby-bundled-gemsaarch64 · ruby · 3.1b Advisory build 0:3.1.7-146.module+el9.5.0+90564+273a1edd ELSA-2025-4488
Oracle Linux 9 ruby-bundled-gemsx86_64 · ruby · 3.1b Advisory build 0:3.1.7-146.module+el9.5.0+90564+273a1edd ELSA-2025-4488

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

24

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.0 / 10
Severity
medium
Provider
mitre · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ruby-lang CGI 0 to < 0.3.5.1 (affected · custom)0.3.6 to < 0.3.7 (affected · custom)0.4.0 to < 0.4.2 (affected · custom)Default: unaffected mitre · cna

Weaknesses

1
  • CWE-1333 CWE-1333 Inefficient Regular Expression Complexity (mitre · cna)

References

3

Provider assertions

3

mitre · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
6a16a09e5b7063844b8ece94f7e0b0aee1102e1462b04a0ca29952ed3d7e5c90
Ingested
23 Sep 2026, 08:42:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected