PT-2025-8695

CVE-2025-27220

·

Published

2025-02-26

·

Updated

2026-10-19

Description by

CVSS 2.0
7.8
High
MetricsAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions CGI gem versions prior to 0.4.2
Description A Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method. This issue can lead to high CPU consumption due to crafted input. The vulnerability affects Ruby versions 3.1 and 3.2.
Recommendations For CGI gem versions prior to 0.4.2, update the CGI gem to version 0.4.2 or later. As a temporary workaround, consider restricting the use of the Util#escapeElement method until a patch is available.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-MHWM-JH88-3GJF
ALSA-2025:4063
ALSA-2025:4488
ALSA-2025_4488
AZL-57791
AZL-57938
CESA-2025_4063
CLEANSTART-2026-HJ24461
CLSA-2026-1792167430
CLSA-2026-1792174968
DLA-4082-1
ECHO-EDF3-CB70-6D3E
INFSA-2025_4063
INFSA-2025_4487
INFSA-2025_4488
MGASA-2025-0290
OESA-2025-1244
OESA-2025-1261
OESA-2025-1262
OESA-2025-1263
OESA-2025-1264
OPENSUSE-SU-2025_1369-1
RHSA-2025:4063
RHSA-2025_4063
RHSA-2025:4487
RHSA-2025_4487
RHSA-2025:4488
RHSA-2025_4488
SUSE-SU-2025:1369-1
SUSE-SU-2025:4264-1
USN-7418-1
USN-7442-1
Found an issue in the description? Have something to add? Feel free to write us 👾