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

Published Nov 4, 2026
·
Updated

CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename. header(-attachment => $name) writes $name into the quoted filename parameter of Content-Disposition without escaping double quotes. An application that passes request data as the attachment name can be made to send a second filename parameter, changing the name the response is saved under.

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 Perl CGI 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

What applications are realistically exposed to this issue?

Applications using CGI versions before 5.00 are exposed if they pass request-controlled data into header(-attachment => $name). The issue applies specifically when that value is used as the Content-Disposition attachment filename.

2

What does an attacker need to exploit it?

An attacker needs influence over the attachment name supplied to header(-attachment => $name). By including an unescaped double quote, they can inject a second filename parameter and alter the filename used when the response is saved.

3

What can be done if an upgrade is not immediately possible?

Do not pass request data directly as the attachment name. Reject or remove double quotes from attachment filename values before calling header(-attachment => $name).

4

How can I identify potentially affected code?

Review code for calls to header(-attachment => $name), especially where $name is derived from request parameters or other untrusted input. Deployments using CGI versions before 5.00 with such data flow are potentially affected.

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