ALSA-2026:99849: Important: perl-CGI security update
CGI.pm is a stable, complete and mature solution for processing and preparing HTTP requests and responses. Major features including processing form submissions, file uploads, reading and writing cookies, query string generation and manipulation, and processing and preparing HTTP headers. Some HTML generation utilities are included as well. CGI.pm performs very well in in a vanilla CGI.pm environment and also comes with built-in support for modperl and modperl2 as well as FastCGI.
Security Fix(es):
perl-cgi: perl-cgi: Denial of Service via unenforced request and upload limits (CVE-2026-120650) perl-cgi: perl-cgi: arbitrary file write via unsanitized upload filenames (CVE-2026-120641) perl-cgi: perl-cgi: Security feature bypass via untainted request parameters (CVE-2026-120642)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
almalinux/perl-CGIto a version that resolves this vulnerability.Fixed in 4.38-3.el8_10
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are most exposed to these issues?
Deployments that use CGI.pm to process HTTP requests, particularly form submissions and file uploads, are exposed. The package also supports mod_perl, mod_perl2, and FastCGI, but the advisory does not distinguish impact by runtime environment.
What attacker-controlled input is relevant to exploitation?
The issues involve request and upload handling. An attacker may be able to trigger denial of service through requests or uploads that exceed unenforced limits, write arbitrary files through unsanitized upload filenames, or bypass a security feature using untainted request parameters.
Are applications that accept file uploads a priority for remediation?
Yes. The advisory specifically identifies arbitrary file write through unsanitized upload filenames, so applications using CGI.pm upload handling should be prioritized.