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.

High 7.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120631?

CVE-2026-120631 is a high-severity vulnerability, published on 3 Nov 2026.

Official 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.

Weakness: CWE-625, CWE-1333

Which versions are affected by CVE-2026-120631?

How do I fix CVE-2026-120631?

Upgrade to a fixed version.

Is CVE-2026-120631 being exploited?

There is no known exploitation of CVE-2026-120631 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-120631, DHI-jtsc-yr5f-vrac-rdaw, GHSA-v4gh-jwmf-g38j, UBUNTU-CVE-2026-120631.

Is CVE-2026-120631 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free