BaseIncomplete

CWE-1108Excessive Reliance on Global Variables

Category: other

Description

The code is structured in a way that relies too much on using or setting global variables throughout various points in the code, instead of preserving the associated information in a narrower, more local context.

Common consequences· 1

  • Other — Reduce Maintainability, Increase Analytical Complexity
    This issue makes it more difficult to maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities.

References

  1. https://cwe.mitre.org/data/definitions/1108.html

(incoming)1

TypeTargetConfidenceTier
VulnerabilityCVE-2026-32841cve-2026-328410%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Use of Same Variable for Multiple Purposes
CWE
Insufficient Use of Symbolic Constants
CWE
Declaration of Variable with Unnecessarily Wide Scope
CWE
Insufficient Control Flow Management
CWE
Insufficient Isolation of Symbolic Constant Definitions
CWE
Excessive Use of Unconditional Branching
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.