GHSA-mhwm-jh88-3gjf · Severity: medium · Ecosystem: rubygems — CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement
In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.
Conclusion & alert: CVE-2025-27220 is rated Low Risk (32.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.25%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-02 | 0.25% | 0.25% | -0.01% |
| 2 | 2026-05-22 | 0.25% | 0.25% | +0.01% |
| 3 | 2026-05-02 | — | 0.25% | — |
Full EPSS history (33 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.0 | 3.1 | MEDIUM |
|
2.2 | 1.4 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-mhwm-jh88-3gjf · Severity: medium · Ecosystem: rubygems — CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-27220 not yet assigned priority: Debian including 3 source packages (ruby2.7, ruby3.1, ruby3.3), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2025-27220 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-27220 |
suse
|
medium | CVE-2025-27220 severity moderate: SUSE including 308 source package names (2.23-77.6:libruby2_5-2_5-2.5.9-150000.4.41.1, 2.23-77.6:ruby2.5-2.5.9-150000.4.41.1, …), 940 product×package rows across 204 product lines (Container bci/ruby, Container suse/rmt-server, … (204 product lines)): Fixed 651, Known Affected 231, Known Not Affected 58. | https://www.suse.com/security/cve/CVE-2025-27220/ |
ubuntu
|
medium | CVE-2025-27220 medium priority: Ubuntu including 7 source packages (jruby, ruby2.3, …), 54 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 31, needs-triage 13, released 8, ignored 2. | https://ubuntu.com/security/CVE-2025-27220 |
| URL | Tags |
|---|---|
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27220.yml | Third Party Advisory |
| https://hackerone.com/reports/2890322 | Permissions Required |
| https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html |