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.
Last updated
Overview
For example, in C++, "delete this" will cause the object to delete itself.
Common consequences
What can happen when CWE-1082 is exploited.
Reduce Reliability
Affects: Other
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.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Terminology & mappings
Mapped taxonomies
- OMG ASCRM (ASCRM-RLB-7)
Frequently asked questions
Common questions about CWE-1082.
- What is CWE-1082?
- The code contains a class instance that calls the method or function to delete or destroy itself.
- What are the consequences of CWE-1082?
- Exploiting CWE-1082 can lead to: Reduce Reliability.
References
- MITRE CWE definition (CWE-1082) (opens in a new tab)
- CWE-1082 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.20). CVE associations are aggregated and kept current by RadicalNotion.AI.
Stay ahead of CWE-1082
Get alerted the moment a new CWE-1082 vulnerability affects your stack, with AI-written analysis, severity context, and remediation guidance.