CVE-2026-120631
JSON

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 packageVersionsReported by
CGIfrom 4.67 before 5.00CVE List

Classification

CWE-625CWE-1333

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120631 changed 2026-11-09CVE Terms of Use
NVDCVE-2026-120631 changed 2026-11-09Public domain