Threat Feed

CVE-2026-120631: 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

Exploitation: None known ยท Published 2026-11-03

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.

Fix

Upgrade to 5.00.

Vendor advisory

Affected versions

ProductVulnerableFixed in
Affected product4.67 before 5.005.00

Seen in 3 sources