cve.bz

CWE-1108: Excessive Reliance on Global Variables

Filter

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.

What the weakness is: CWE-1108 at MITRE. All weaknesses

Ask an AI about CWE-1108

Show the promptExplain CWE-1108: Excessive Reliance on Global Variables and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1108.html and https://cve.bz/cve/cwe/1108?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

  1. 9.2CVE-2026-32841EPSS 0.6%

    Edimax GS-5008PL firmware versions 1.00.54 and prior contain an authentication bypass vulnerability that allows unauthenticated attackers to access the management interface. Attackers can exploit the global authentication flag mechanism to…

  2. 4.8CVE-2024-47827EPSS 0.4%

    Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Due to a race condition in a global variable in 3.6.0-rc1, the argo workflows controller can be made to crash on-command by an…

  3. 7.5CVE-2022-2642EPSS 0.7%

    Horner Automation’s RCC 972 firmware version 15.40 contains global variables. This could allow an attacker to read out sensitive values and variable keys from the device.