CWE Database
/

CWE-1082

Back to CWE list

CWE-1082

Class Instance Self Destruction Control Element

Base
Incomplete

Description

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

{"xhtml:p":["For example, in C++, \"delete this\" will cause the object to delete itself."]}

Common Consequences

Scope

Other

Impact

Reduce Reliability

Applicable Platforms

Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now