Common Weakness Enumeration

    CWE Definition / CWE-1109

    CWE-1109: Use of Same Variable for Multiple Purposes

    The code contains a callable, block, or other code element in which the same variable is used to control more than one unique task or store more than one instance of data.

    Published:2 Jul 2018
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-1078: Inappropriate Source Code Style or Formatting

    CWE-1109: Use of Same Variable for Multiple Purposes | CVE-DB