CVE-2026-120631
7.5high
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
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- CPANSec
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| CGI | from 4.67 before 5.00 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120631 changed 2026-11-09 | CVE Terms of Use |
| NVD | CVE-2026-120631 changed 2026-11-09 | Public domain |