Skip to main content
No exploitation reportedFix available

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

No exploitation reported by the sources we read.

  • Published2026-11-04
  • WeaknessCWE-1333 · CWE-625

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-11-0323:39CVE publishedCNA

Versions per branch

Products declared by the CNA1 product

As CPANSec, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-03

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libcgi-pm-perlUbuntu:26.10all versions · no fixed version listed
  • libcgi-pm-perlUbuntu:26.04:LTSall versions · no fixed version listed
  • libcgi-pm-perlUbuntu:24.04:LTSall versions · no fixed version listed
  • libcgi-pm-perlUbuntu:22.04:LTSall versions · no fixed version listed
  • libcgi-pm-perlUbuntu:20.04:LTSall versions · no fixed version listed
  • libcgi-pm-perlUbuntu:18.04:LTSall versions · no fixed version listed
  • libcgi-pm-perlUbuntu:16.04:LTSall versions · no fixed version listed
  • libcgi-pm-perlDebian:14all versions · no fixed version listed

3 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-120631 Red Hat Product Security4 known affected

    perl-cgi: perl-cgi: Denial of Service via unescaped cookie expiration attribute

    perl-CGI.src as a component of Red Hat Enterprise Linux 10 · perl-CGI.src as a component of Red Hat Enterprise Linux 7 · perl-CGI.src as a component of Red Hat Enterprise Linux 8 · +1 more

Full record on NVD

Fix

  1. Workaround from the vendor Red Hat Product Security CVE-2026-120631 · 4 products--- CME Mitigation Guidance (2026-11-04) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to indepen…
  2. No fix available, says the vendor Red Hat Product Security CVE-2026-120631 · 4 productsAffected

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2026-11-04
Last Modified
2026-11-09
NVD status
Deferred
GitHub Advisory
GHSA-v4gh-jwmf-g38j

Frequently asked questions

What is 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. 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.

Is CVE-2026-120631 actively exploited?

Active exploitation of CVE-2026-120631 has not been confirmed. Its EPSS score was 0.4% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-120631?

CVE-2026-120631 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running perl-cgi? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record