CWE-1082

Class Instance Self Destruction Control Element
AI Translation Available

The code contains a class instance that calls the method or function to delete or destroy itself.

Status
incomplete
Abstraction
base

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

Common Consequences

other
Impacts
reduce reliability

Potential Mitigations