CVE-2026-120645 CGI versions before 5.00 for Perl allow denial of service via submitted values used as a regex for optgroup selection in scrolling_list.

High 7.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120645?

CVE-2026-120645 is a high-severity vulnerability in CGI, published on 3 Nov 2026.

Official description

CGI versions before 5.00 for Perl allow denial of service via submitted values used as a regex for optgroup selection in scrolling_list.

When rendering option groups, scrolling_list marks the selected options by interpolating each selected value, by default taken from the request parameters, unescaped into a substitution pattern.

A client can make the request die with an invalid pattern, or tie up the process with one that backtracks heavily.

Weakness: CWE-625, CWE-1333

Which versions are affected by CVE-2026-120645?

1 open source package ship an affected version, including CGI.

PackageAffectedFixed in
CGI cpan
pkg:cpan/CGI
All versions5.00
Status by vendor (4)
WhoReleaseStatusPackages
Red Hat8deferredperl-CGI
Red Hat9deferredperl-CGI
Red Hat10deferredperl-CGI
Red Hatels/7deferredperl-CGI

How do I fix CVE-2026-120645?

Upgrade CGI to 5.00 or later.

Is CVE-2026-120645 being exploited?

There is no known exploitation of CVE-2026-120645 in the wild and no public exploit code.

Sources

Also known as AZL-112759, DEBIAN-CVE-2026-120645, DHI-xrbl-hgjy-chal-lz2q, GHSA-8xqm-fm8j-xv84, UBUNTU-CVE-2026-120645.

Is CVE-2026-120645 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free