CWE-616: Incomplete Identification of Uploaded File Variables (PHP)
The PHP application uses an old method for processing uploaded files by referencing the four global variables that are set for each file (e.g. $varname, $varname_size, $varname_name, $varname_type).
Last updated
Overview
CWE-616 (Incomplete Identification of Uploaded File Variables (PHP)) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
8 recorded CVEs are caused by CWE-616 (Incomplete Identification of Uploaded File Variables (PHP)). The highest-severity and most recent are shown first. 2 new CWE-616 CVEs have been recorded so far in 2026 (2 in 2025).