CVE-2026-120631
Severity not reportedCGI::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::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.
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/leejo/CGI.pm/commit/95e044af2ec24d99a61e99d6291580ad47aff641.patch 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI/Cookie.pm 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://metacpan.org/release/LEEJO/CGI-5.00/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e

