Common Weakness Enumeration

    CWE Definition / CWE-1042

    CWE-1042: Static Member Data Element outside of a Singleton Class Element

    The code contains a member element that is declared as static (but not final), in which its parent class element is not a singleton class - that is, a class element that can be used only once in the 'to' association of a Create action.

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

    Related Weakness

    CWE-1176: Inefficient CPU Computation