---
id: CVE-2026-120646
title: >-
  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
summary: >-
  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…
severity: none
cwe:
  - CWE-843
product: CGI
affected:
  - CGI >= 4.71 < 5.00
published: '2026-11-03'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T23:40:59.008Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-120646'
references:
  - url: 'https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm'
  - url: 'https://metacpan.org/release/LEEJO/CGI-5.00/changes'
  - url: >-
      https://github.com/leejo/CGI.pm/commit/a14a7decfdc18f2daf436d30df9b543e3f0f8da3.patch
tags:
  - cve.org
epss: 0.00183
epssPercentile: 0.07928
ingestedAt: '2026-11-05T20:33:06.618Z'
---

## Overview

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.

## Affected

- `CGI >= 4.71 < 5.00`

## Remediation

Upgrade to CGI 5.00 or later.
