CVSS 3.1
9.1 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCritical (9.1). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExplain CVE-2026-120642 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-120642?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-120642?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-120642 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-120642 |
| Debian | 14 | libcgi-pm-perl | 5.02-1 | DEBIAN-CVE-2026-120642 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 4 more | libcgi-pm-perl | no fix listed | UBUNTU-CVE-2026-120642 |
| Red Hat | enterprise_linux:8::appstream | perl-CGI | 0:4.38-3.el8_10 | RHSA-2026:99849 |
| Red Hat | enterprise_linux:9::appstream | perl-CGI | 0:4.51-5.el9_9.1 | RHSA-2026:99215 |
| Red Hat | enterprise_linux:10.3 | perl-CGI | 0:4.61-5.el10_3.1 | RHSA-2026:99212 |
| Red Hat | enterprise_linux_eus:10.2 | perl-CGI | 0:4.61-5.el10_2.1 | RHSA-2026:99214 |
| Red Hat | rhel_eus:9.8::appstream | perl-CGI | 0:4.51-5.el9_8.1 | RHSA-2026:99213 |
| openSUSE | Tumbleweed | perl-CGI | 5.20.0-1.1 | openSUSE-SU-2026:12465-1 |
| AlmaLinux | 8 | perl-CGI | 4.38-3.el8_10 | ALSA-2026:99849 |
| AlmaLinux | 9 | perl-CGI | 4.51-5.el9_9.1 | ALSA-2026:99215 |
| AlmaLinux | 10 | perl-CGI | 4.61-5.el10_3.1 | ALSA-2026:99212 |
| Rocky Linux | 8 | perl-CGI | 0:4.38-3.el8_10 | RLSA-2026:99849 |
| Rocky Linux | 9 | perl-CGI | 0:4.51-5.el9_9.1 | RLSA-2026:99215 |
| Rocky Linux | 10 | perl-CGI | 0:4.61-5.el10_3.1 | RLSA-2026:99212 |
| Azure Linux | 3 | perl-CGI | no fix listed | AZL-112771 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.
Red Hat rates this Important.
Red Hat has evaluated this vulnerability as Important because it compromises Perl's core taint security boundary in environments where perl-CGI is deployed to handle untrusted web requests. While exploitation depends on scripts explicitly enforcing taint checks and passing affected parameter fields into privileged execution paths, this failure allows unauthenticated remote attackers to bypass trust restrictions. The perl-CGI component is not active by default in Red Hat Enterprise Linux and is limited to systems where legacy CGI scripts are configured.
--- 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 enforce strict allowlist validation on all CGI request parameters and upload metadata before passing them into sensitive operations: upgrade to CGI 5.00 (or the fixed Perl Cgi builds), which append a tainted substring to request-derived hash keys and regex capture values before returning them, closing all 5 injection vectors (crafted upload filenames, crafted uploadInfo header values, crafted path_info or script_name values, crafted Accept header values, crafted url_param or cookie names). Until patched, this is a concern on applications running under Perl taint mode (-T) that rely on taint verification for CGI request metadata and parameter keys, so audit and explicitly untaint or validate all request metadata, file upload headers, and parameter names before passing them to sensitive functions like open or system. As a compensating measure, use direct process execution without shell invocation when passing CGI-derived values to process sinks, validate and sanitize upload filenames and uploadInfo headers against strict extension and content allowlists before processing, run SELinux in enforcing mode to confine the web server and CGI process domain, and apply enforcing AppArmor profiles to restrict file access and process execution for CGI scripts. These controls limit blast radius and contain exploitation, but they do not fix the underlying taint-check bypass defect — apply the upstream patch to fully remediate.
Highest-impact CME: CME-1315 Allowlist-Preferred Input Validation (Deny-by-Default Filtering) (high)
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | perl-CGI-0:4.61-5.el10_3.1 | Fixed 2026-11-11 | RHSA-2026:99212 |
| Red Hat Enterprise Linux 10.2 Extended Update Support | perl-CGI-0:4.61-5.el10_2.1 | Fixed 2026-11-11 | RHSA-2026:99214 |
| Red Hat Enterprise Linux 8 | perl-CGI-0:4.38-3.el8_10 | Fixed 2026-11-12 | RHSA-2026:99849 |
| Red Hat Enterprise Linux 9 | perl-CGI-0:4.51-5.el9_9.1 | Fixed 2026-11-12 | RHSA-2026:99215 |
| Red Hat Enterprise Linux 9.8 Extended Update Support | perl-CGI-0:4.51-5.el9_8.1 | Fixed 2026-11-12 | RHSA-2026:99213 |
| Red Hat Enterprise Linux 7 | 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-120642.
Changes since this site first stored the record. The same for every record: /api/public/changes.