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

Published Nov 4, 2026
·
Updated

CGI::Cookie versions from 4.67 before 5.00 for Perl allow denial of service via the client cookie expires value used as a regex in parse. CGI's cookie method reads the Cookie request header through parse, which interpolates the header's expires value unescaped into the substitution pattern that removes it from the cookie string. A client can make the request die with an invalid pattern, or tie up the process with one that backtracks catastrophically.

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::Cookie 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 can trigger the denial of service?

Any client able to send an HTTP request with a crafted Cookie header to an application that invokes CGI::Cookie parsing can trigger it. The crafted expires value can cause an invalid regular-expression pattern or catastrophic backtracking.

2

What component needs to be examined when assessing exposure?

Examine applications using the CGI::Cookie module, particularly code that calls CGI's cookie method and therefore parses the Cookie request header. The affected package identified here is debian/libcgi-pm-perl.

3

How can I tell whether a service may be affected?

A service may be affected if it uses CGI::Cookie in a version from 4.67 before 5.00 and processes client-supplied Cookie headers through parse. Requests with malformed or specially crafted expires values may produce pattern-related failures or unusually long processing times.

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