Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-120642 EUVD-2026-116609GHSA-mqfc-h2mx-w8gc

CGI versions before 5.00 for Perl return request-derived values untainted under taint mode

Published Nov 3, 2026 · Updated Nov 9, 2026 · Assigned by CPANSec

Description

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.

Affected products

VendorProductAffectedFixed
— CGI < 5.00 5.00

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcgi-pm-perl No fix yet —
Debian 13 libcgi-pm-perl No fix yet —
Debian 12 libcgi-pm-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libcgi-pm-perl No fix yet —
Ubuntu 26.04 LTS libcgi-pm-perl No fix yet —
Ubuntu 24.04 LTS libcgi-pm-perl No fix yet —
Ubuntu 22.04 LTS libcgi-pm-perl No fix yet —
Ubuntu 20.04 LTS libcgi-pm-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libcgi-pm-perl No fix yet —
Ubuntu 16.04 LTS libcgi-pm-perl No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 perl-CGI 4.61-5.el10_3.1 RHSA-2026:99212
RHEL 9 perl-CGI 4.51-5.el9_9.1 RHSA-2026:99215
RHEL 8 perl-CGI 4.38-3.el8_10 RHSA-2026:99849
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.2 EUS perl-CGI 4.61-5.el10_2.1 RHSA-2026:99214
RHEL 9.8 EUS perl-CGI 4.51-5.el9_8.1 RHSA-2026:99213

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 perl-CGI 4.38-3.el8_10 ALSA-2026:99849

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 perl-CGI 4.61-5.el10_3.1 RLSA-2026:99212
Rocky Linux 9 perl-CGI 4.51-5.el9_9.1 RLSA-2026:99215
Rocky Linux 8 perl-CGI 4.38-3.el8_10 RLSA-2026:99849
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-CGI 5.20.0-1.1 openSUSE-SU-2026:12465-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-CGI +1 5.02-1.amzn2023.0.1 ALAS2023-2026-3436

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-CGI No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 perl-CGI 4.38-3.el8_10 ELSA-2026-99849

Advisories 13

References