CWE-1082βClass Instance Self Destruction Control Element
PUBLISHEDweakness record
released 2019-01-03 Β· last modified 2025-12-11
Metadata
Weakness Name
Class Instance Self Destruction Control Element
Description
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.