RLSA-2026:99215: 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
rocky-linux/perl-CGIto a version that resolves this vulnerability.Fixed in 0:4.51-5.el9_9.1
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are most exposed to these issues?
Deployments that use perl-cgi to process HTTP requests, especially form submissions and file uploads, are exposed. The package also supports mod_perl, mod_perl2, and FastCGI, so use in those environments may also be relevant.
What capabilities could an unauthenticated attacker gain?
The advisory identifies denial of service through unenforced request and upload limits, arbitrary file write through unsanitized upload filenames, and bypass of a security feature through untainted request parameters. The listed CVSS vector indicates network reachability, no required privileges, and no user interaction, although attack complexity is high.
Are file-upload handlers a priority for remediation?
Yes. The advisory specifically identifies arbitrary file write via unsanitized upload filenames and denial of service related to upload limits, making applications that accept uploads particularly important to review and update.