ADVISORIES

Vulnerability

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.

109 advisories report this vulnerability, across 15 ecosystems.

Advisories in RubyGems

  • GHSA-gh9q-2xrm-x6qv

    CGI has Denial of Service (DoS) potential in Cookie.parse

    Moderate CVE-2025-27219 RubyGems Updated 10 September 2026

References