cve.bz

CVE-2025-27219

7.5 highEPSS 0.8%

High (7.5) in ruby-lang cgi. EPSS 0.8% chance of exploitation in the next 30 days. Fixed in cgi 0.3.5.1, 0.3.7, 0.4.2.

In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains a potential Denial of Service (DoS) vulnerability. The method does not impose any limit on the length of the raw cookie value it processes. This oversight can lead to excessive resource consumption when parsing extremely large cookies.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% chance of exploitation in the next 30 days; higher than 58% of CVEs (scores of 2026-10-31)
CWE
CWE-770
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gh9q-2xrm-x6qvRubyGemscgi<0.3.5.10.3.5.1
GHSA-gh9q-2xrm-x6qvRubyGemscgi>=0.3.6 <0.3.70.3.7
GHSA-gh9q-2xrm-x6qvRubyGemscgi>=0.4.0 <0.4.20.4.2

References

Check your stackJSON