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

State
Published
Severity
Not scored
Published
Nov 3, 2026
Updated
Nov 3, 2026
Reserved
Nov 2, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-1333 Inefficient Regular Expression Complexity
  • CWE-625 Permissive Regular Expression

Affected Products

ProductVersions
CGI
  • 4.67 to before 5.00Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.