Cyber Resilience

CWE · MITRE source

CWE-616Incomplete Identification of Uploaded File Variables (PHP)

Abstraction: Variant · CVEs in our corpus: 10

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: 20 August 2026 14:15 UTC

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • PR.PS-06
  • SI-10 Information Input Validation
  • SA-8 Security and Privacy Engineering Principles
Detect
Catch it (CSF Detect / Respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

NIST 800-53 r5 controls that address this weakness (0)AI-assisted

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 7.39.80.00382024-03-21
CVE-2024-31601 7.29.80.00352024-04-26
CVE-2025-67084 6.99.90.00422026-01-15
CVE-2026-671985.77.50.00202026-08-04
CVE-2023-38947 5.57.20.00542023-08-03
CVE-2024-523055.06.50.00192024-11-13
CVE-2024-28520 4.96.50.00172024-04-04
CVE-2026-22789 4.35.40.00242026-01-12
CVE-2025-52130 4.25.40.00212025-08-25
CVE-2025-59402 4.25.40.00222025-09-25