CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2026-120631 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-120631?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-120631?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-120631 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | libcgi-pm-perl | no fix listed | DEBIAN-CVE-2026-120631 |
| Debian | 14 | libcgi-pm-perl | 5.02-1 | DEBIAN-CVE-2026-120631 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 4 more | libcgi-pm-perl | no fix listed | UBUNTU-CVE-2026-120631 |
| openSUSE | Tumbleweed | perl-CGI | 5.20.0-1.1 | openSUSE-SU-2026:12465-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Red Hat rates this Important.
This vulnerability is rated as Important because an unauthenticated remote attacker can cause a denial of service across the network without requiring credentials or user interaction. Web applications and services that parse incoming client cookies using perl-CGI are directly susceptible to process termination or resource starvation when exposed to untrusted traffic. Deployments that do not expose CGI scripts to untrusted networks or do not process cookie headers are not exposed to remote exploitation.
--- 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 independently evaluate and test these temporary mitigations within their own infrastructure.
The highest-value action is to eliminate unescaped regular expression interpolation by parsing cookie expiration attributes with string offset operations instead of regex substitution patterns in CGI::Cookie: upgrade to CGI 5.00+ (or the fixed Perl Cgi builds), which remove the matched expires substring using string offsets with substr instead of interpolating the value into a regex pattern, closing all 2 injection vectors (HTTP Cookie header with invalid regex metacharacters, HTTP Cookie header with pathological backtracking regex constructs). Until patched, this is a concern on applications using CGI::Cookie->parse or CGI->cookie to parse incoming HTTP request cookies, so restrict network access to applications processing HTTP cookies with CGI::Cookie or sanitize incoming Cookie headers at reverse proxies and web application firewalls to block metacharacters in expires attributes. These controls limit blast radius and contain exploitation, but they do not fix the underlying unescaped regex interpolation defect — apply the upstream patch to fully remediate.
Highest-impact CME: CME-1316 Algorithmic Complexity Safeguards (Pattern/Regex Execution Limits) (high)
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | perl-CGI | Affected | |
| Red Hat Enterprise Linux 7 | perl-CGI | Affected | |
| Red Hat Enterprise Linux 8 | perl-CGI | Affected | |
| Red Hat Enterprise Linux 9 | perl-CGI | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-120631.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.