Leftover Debug Code Affecting perl-CGI package, versions <0:3.63-5.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.61% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-PERLCGI-22631349
  • published20 Nov 2026
  • disclosed4 Nov 2026

Introduced: 4 Nov 2026

NewCVE-2026-120637  (opens in a new tab)
CWE-489  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 perl-CGI to version 0:3.63-5.amzn2 or higher.
This issue was patched in ALAS2-2026-4140.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-CGI package and not the perl-CGI package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

CGI versions before 5.00 for Perl take request parameters from the process command line arguments for an unrecognised REQUEST_METHOD.

For a REQUEST_METHOD such as OPTIONS, CGI falls through to its offline debugging mode, which is on by default, and builds the parameters and path_info from the process's command line arguments.

CVSS Base Scores

version 3.1