Trust Boundary Violation Affecting perl-CGI package, versions <0:3.63-5.amzn2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.5% (44th 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-22631327
  • published20 Nov 2026
  • disclosed4 Nov 2026

Introduced: 4 Nov 2026

NewCVE-2026-120642  (opens in a new tab)
CWE-501  (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 return request-derived values untainted under taint mode.

The upload filename, uploadInfo values, some path_info and script_name values, Accept results, and the name lists from url_param 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.

CVSS Base Scores

version 3.1