CWE · MITRE source
CWE-616Incomplete 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). These variables could be overwritten by attackers, causing the application to process unauthorized files.
These global variables could be overwritten by POST requests, cookies, or other methods of populating or overwriting these variables. This could be used to read or process arbitrary files by providing values such as "/etc/passwd".
Last updated: 14 October 2026 20:41 UTC
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
NIST 800-53 r5 controls PROPOSED for this weakness (0)AI-assisted
These are model PROPOSALS, not graded mappings. They come
from controls_to_cwe_proposals, which carries no grade field at
all; across the CWE pages 1,540 of 1,722 such associations (89%) have never
been graded by anything. The heading said “address” until
2026-09-29, which asserted a relationship the data does not carry.
Graded cross-walks are on the framework map, not here.
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
| No NIST controls proposed yet. | |||
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2024-29858 UPD | 7.3 | 9.8 | 0.0038 | 2024-03-21 |
CVE-2024-31601 UPD | 7.2 | 9.8 | 0.0035 | 2024-04-26 |
CVE-2025-67084 UPD | 6.9 | 9.9 | 0.0044 | 2026-01-15 |
CVE-2026-105630 | 6.1 | 8.7 | 0.0021 | 2026-10-05 |
CVE-2026-67198 UPD | 5.7 | 7.5 | 0.0029 | 2026-08-04 |
CVE-2023-38947 UPD | 5.5 | 7.2 | 0.0054 | 2023-08-03 |
CVE-2024-52305 | 5.0 | 6.5 | 0.0019 | 2024-11-13 |
CVE-2024-28520 UPD | 4.9 | 6.5 | 0.0017 | 2024-04-04 |
CVE-2026-22789 UPD | 4.3 | 5.4 | 0.0027 | 2026-01-12 |
CVE-2025-52130 UPD | 4.2 | 5.4 | 0.0021 | 2025-08-25 |
CVE-2025-59402 UPD | 4.2 | 5.4 | 0.0023 | 2025-09-25 |