CWE-1082: Class Instance Self Destruction Control Element

ID CWE-1082
Abstraction Base
Structure Simple
Status Incomplete
The code contains a class instance that calls the method or function to delete or destroy itself.

For example, in C++, "delete this" will cause the object to delete itself.

This issue can prevent the product from running reliably. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability.

Relationships

View Weakness
# ID View Status # ID Name Abstraction Structure Status
CWE-1000 Research Concepts Draft CWE-1076 Insufficient Adherence to Expected Conventions Class Simple Incomplete
Loading...
Loading...