Common Weakness Enumeration

    CWE Definition / CWE-1082

    CWE-1082: Class Instance Self Destruction Control Element

    The code contains a class instance that calls the method or function to delete or destroy itself, e.g., use of delete this in C++.

    Published:2 Jul 2018
    Organization:MITRE
    Modified:28 Oct 2026

    Related Weakness

    CWE-1076: Insufficient Adherence to Expected Conventions