CVE-2026-120631
published high CVSS 3.1 · 7.5CGI::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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | CGI4.67 to < 5.00 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3436 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | perl-cgi | Fixed | 5.02-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIaarch64 | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| Amazon Linux | AL2023 | perl-CGInoarch | Listed in advisory | Not stated | ALAS2023-2026-3436 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIppc64le | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIs390x | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIx86_64 | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| Amazon Linux | AL2023 | perl-CGIsrc | Listed in advisory | Not stated | ALAS2023-2026-3436 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| CGI | 4.67 to < 5.00 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
- CWE-625 CWE-625 Permissive Regular Expression
References
3Provider assertions
2CPANSec · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ed382c24a1f9d89a9e1c40ec33341438651326874bc37a5c0cffafbb440db9ee
- Ingested
- 09 Nov 2026, 19:14:56 UTC
- Source record
- Official CVE record