A vulnerability was found in CGI Gem up to 0.3.6/0.4.1 on Ruby. It has been declared as problematic. Affected by this vulnerability is the function CGI::Cookie.parse of the component Cookie Handler. The manipulation leads to allocation of resources.

This vulnerability is known as CVE-2025-27219. The attack can be launched remotely. There is no exploit available.

It is recommended to upgrade the affected component.