---
title: "CVE-2026-120642"
canonical_url: "https://pkgseek.com/security/CVE-2026-120642"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "critical"
---

# CVE-2026-120642

CGI versions before 5.00 for Perl return request-derived values untainted under taint mode.  The upload filename, uploadInfo values, some path_info and script_name values, Accept results, and the name lists from url_param and cookie are returned without the taint flag, as is a cookie named expires from 4.67 on.  These values come from regex captures or hash keys, which Perl does not taint, so they pass -T checks unvalidated.

CVE-2026-120642 is rated CRITICAL (9.1), with 17 indexed affected package builds across 6 distributions.

- **Severity / Score**: CRITICAL (9.1)
- **Affected builds**: 17
- **Affected distros**: 6
- **Distros with fixed_in**: AlmaLinux, Fedora, Oracle Linux, Rocky Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| AlmaLinux | 10 | perl-CGI | 4.61-5.el10 | 4.61-5.el10_3.1 |
| AlmaLinux | 9 | perl-CGI | 4.51-5.el9 | 4.51-5.el9_9.1 |
| Debian | trixie | libcgi-pm-perl | 4.68-1 | — |
| Fedora | 43 | perl-CGI | 4.70-2.fc43 | 5.02-1.fc43 |
| Fedora | 43 | perl-CGI-tests | 4.70-2.fc43 | 5.02-1.fc43 |
| Fedora | 44 | perl-CGI | 4.71-2.fc44 | 5.02-1.fc44 |
| Fedora | 44 | perl-CGI-tests | 4.71-2.fc44 | 5.02-1.fc44 |
| Fedora | 45 | perl-CGI | 4.72-2.fc45 | 5.02-1.fc45 |
| Fedora | 45 | perl-CGI-tests | 4.72-2.fc45 | 5.02-1.fc45 |
| Oracle Linux | 10 | perl-CGI | 4.61-5.el10 | 4.61-5.el10_3.1 |
| Oracle Linux | 8 | perl-CGI | 4.38-2.el8 | 4.38-3.el8_10 |
| Oracle Linux | 9 | perl-CGI | 4.51-5.el9 | 4.51-5.el9_9.1 |
| Rocky Linux | 10 | perl-CGI | 4.61-5.el10 | 0:4.61-5.el10_3.1 |
| Rocky Linux | 9 | perl-CGI | 4.51-5.el9 | 0:4.51-5.el9_9.1 |
| Ubuntu | focal | libcgi-pm-perl | 4.46-1 | — |
| Ubuntu | jammy | libcgi-pm-perl | 4.54-1 | — |
| Ubuntu | noble | libcgi-pm-perl | 4.63-1 | — |
