Vulnerability Description
CGI::Cookie versions from 4.67 before 5.00 for Perl allow denial of service via the client cookie expires value used as a regex in parse. CGI's cookie method reads the Cookie request header through parse, which interpolates the header's expires value unescaped into the substitution pattern that removes it from the cookie string. A client can make the request die with an invalid pattern, or tie up the process with one that backtracks catastrophically.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/leejo/CGI.pm/commit/95e044af2ec24d99a61e99d6291580ad47aff641.
- https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI/Cookie.pm
- https://metacpan.org/release/LEEJO/CGI-5.00/changes
FAQ
What is CVE-2026-120631?
CVE-2026-120631 is a vulnerability with a CVSS score of 7.5 (HIGH). CGI::Cookie versions from 4.67 before 5.00 for Perl allow denial of service via the client cookie expires value used as a regex in parse. CGI's cookie method reads the Cookie request header through p...
How severe is CVE-2026-120631?
CVE-2026-120631 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-120631?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.