Umbra Wiki weakness weakness/CWE-1109
Back to wiki

CWE-1109 — Use of Same Variable for Multiple Purposes

provenance: imported · CWE: CWE-1109

CWE-1109: Use of Same Variable for Multiple Purposes

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Incomplete
Likelihood of exploit

Description

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.

Common consequences

  • Other: Reduce Maintainability
  • Other: Increase Analytical Complexity

Mitigations

(none listed)

References

  • CWE page: https://cwe.mitre.org/data/definitions/1109.html
  • CWE list: https://cwe.mitre.org/data/index.html