CWE-1082 — Class Instance Self Destruction Control Element
CWE-1082: Class Instance Self Destruction Control Element
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Base |
| Status | Incomplete |
| Likelihood of exploit | — |
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.
Common consequences
- Other: Reduce Reliability
Mitigations
(none listed)
References
- CWE page: https://cwe.mitre.org/data/definitions/1082.html
- CWE list: https://cwe.mitre.org/data/index.html
See all 1,245 pages under Weakness classes (CWE) →
Related pages
Browse by topic
Every page in the corpus, grouped. Search finds one page; this shows what else is here.