CVE-2025-27219

CVE-2025-27219 is a medium-severity vulnerability in Ruby-lang Cgi with a CVSS 3.x base score of 5.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-770.

Key facts

Description

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.

Frequently asked questions

What is CVE-2025-27219?
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.
How severe is CVE-2025-27219?
CVE-2025-27219 has a CVSS 3.x base score of 5.8, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
Is CVE-2025-27219 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (52nd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-27219?
CVE-2025-27219 primarily affects Ruby-lang Cgi. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2025-27219?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-27219 have an EU (EUVD) identifier?
Yes. CVE-2025-27219 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-5556.
When was CVE-2025-27219 published?
CVE-2025-27219 was published on 2025-03-04 and last updated on 2026-06-17.

References

Affected products (2)

More vulnerabilities in Ruby-lang Cgi

All CVEs affecting Ruby-lang Cgi →

Other CWE-770 (Allocation of Resources Without Limits or Throttling) vulnerabilities

Browse all CWE-770 (Allocation of Resources Without Limits or Throttling) vulnerabilities →