CVE-2026-120631

Source
https://cve.org/CVERecord?id=CVE-2026-120631
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-120631.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-120631
Downstream
Related
Published
2026-11-03T23:39:55Z
Modified
2026-11-11T10:33:40Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
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
Details

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.

Database specific
{
    "cna_assigner":  "CPANSec",
    "cwe_ids":  [
        "CWE-1333",
        "CWE-625"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120631.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "4.67"
                        },
                        {
                            "fixed":  "5.00"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "4.67"
                        },
                        {
                            "fixed":  "5.00"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/leejo/cgi.pm

Affected ranges

Type
GIT
Repo
https://github.com/leejo/cgi.pm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "95e044af2ec24d99a61e99d6291580ad47aff641"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

4.*
4.69
v3.*
v3.51
v3.52
v3.53
v3.53.1
v3.56
v3.58
v3.61
v3.62
v3.63
v3.64
v3.64-take-three
v4.*
v4.00
v4.01
v4.02
v4.03
v4.05
v4.08
v4.09
v4.10
v4.11
v4.12
v4.13
v4.15
v4.20
v4.21
v4.22
v4.23
v4.24
v4.25
v4.26
v4.27
v4.29
v4.30
v4.31
v4.32
v4.33
v4.34
v4.35
v4.36
v4.37
v4.38
v4.40
v4.41
v4.42
v4.44
v4.45
v4.46
v4.47
v4.48
v4.49
v4.51
v4.53
v4.54
v4.55
v4.56
v4.57
v4.58
v4.59
v4.60
v4.61
v4.62
v4.63
v4.64
v4.65
v4.67
v4.68
v4.70
v4.71
v4.72

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-120631.json"