CVE-2026-120646CGI versions from 4.71 before 5.00 for Perl allow denial of service via a plain string…
CGI versions from 4.71 before 5.00 for Perl allow denial of service via a plain string dereferenced as a symbolic reference in uploadInfo. uploadInfo dereferences its argument and calls its filename method without checking that it is an upload filehandle. A plain string naming a defined global variable, such as the parameter value from ?upload=0, is treated as a symbolic reference, and the method call on it dies.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libcgi-pm-perl | Fix pending | UBUNTU-CVE-2026-120646 | |
| Ubuntu 26.04 | libcgi-pm-perl | Under investigation | UBUNTU-CVE-2026-120646 | |
| Ubuntu 24.04 | libcgi-pm-perl | Under investigation | UBUNTU-CVE-2026-120646 | |
| Ubuntu 22.04 | libcgi-pm-perl | Under investigation | UBUNTU-CVE-2026-120646 | |
| Ubuntu 20.04 | libcgi-pm-perl | Fix pending | UBUNTU-CVE-2026-120646 | |
| Ubuntu 18.04 | libcgi-pm-perl | Fix pending | UBUNTU-CVE-2026-120646 | |
| Ubuntu 16.04 | libcgi-pm-perl | Fix pending | UBUNTU-CVE-2026-120646 | |
| Debian 14 | libcgi-pm-perl | Fixed | 5.02-1 | DEBIAN-CVE-2026-120646 |
| Debian 13 | libcgi-pm-perl | Fix pending | DEBIAN-CVE-2026-120646 | |
| Debian 12 | libcgi-pm-perl | Fix pending | DEBIAN-CVE-2026-120646 | |
| Red Hat Enterprise Linux 10 | perl-CGI | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | perl-CGI | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | perl-CGI | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | perl-CGI | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- CGI: affected: 4.71 to before 5.00; fixed in
5.00
Solution: Upgrade to CGI 5.00 or later.
Vendor advisories:
- https://metacpan.org/release/LEEJO/CGI-5.00/changes (release-notes)
- https://github.com/leejo/CGI.pm/commit/a14a7decfdc18f2daf436d30df9b543e3f0f8da3.patch (patch)
References
- https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm
- https://metacpan.org/release/LEEJO/CGI-5.00/changes
- https://github.com/leejo/CGI.pm/commit/a14a7decfdc18f2daf436d30df9b543e3f0f8da3.patch
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.