DEBIAN-CVE-2026-120642: Debian/libcgi-pm-perl vulnerability

Published Nov 4, 2026
·
Updated

CGI versions before 5.00 for Perl return request-derived values untainted under taint mode. The upload filename, uploadInfo values, some pathinfo and scriptname values, Accept results, and the name lists from urlparam 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 Software

3 affected components
debian/libcgi-pm-perl*
debian/libcgi-pm-perl*
debian/libcgi-pm-perl*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade CGI for Perl to a version that resolves this vulnerability.

    Fixed in 5.00

Event History

Nov 4, 2026
CVE Published
via OSV·12:17 AM
Data Sourced
via OSV·12:17 AM
DescriptionAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using CGI versions before 5.00 under Perl taint mode are exposed if they consume the affected request-derived values and rely on Perl's taint checks to require validation before sensitive use.

2

What attacker-controlled inputs can bypass taint-mode checks?

Affected values include upload filenames, uploadInfo values, some path_info and script_name values, Accept results, and parameter or cookie name lists returned by url_param and cookie. In version 4.67 and later, a cookie named expires is also returned untainted.

3

What must an attacker do to exploit this behavior?

An attacker must be able to supply an affected HTTP request value that the application later uses in a security-sensitive operation while relying on Perl -T checks to reject tainted input. The issue allows those values to pass taint checks without validation.

4

How can I determine whether an application may be affected?

Check whether it uses a CGI version earlier than 5.00 with Perl taint mode enabled, and review uses of the listed CGI return values. Applications are at risk where those values reach sensitive operations without independent validation or sanitization.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203