cve.bz

CWE-1108: Excessive Reliance on Global Variables, published in 2022

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.

By year: all 2026 2025 2024 2023 2022 2021

  1. 7.5CVE-2022-2642hornerautomation rcc972 firmwareEPSS 0.8%

    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.