BaseIncomplete

CWE-1082Class Instance Self Destruction Control Element

Category: other

Description

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

Common consequences· 1

  • Other — Reduce Reliability
    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.

References

  1. https://cwe.mitre.org/data/definitions/1082.html

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Creation of Class Instance within a Static Code Block
CWE
Class with Virtual Method without a Virtual Destructor
CWE
Use of Object without Invoking Destructor Method
CWE
Parent Class without Virtual Destructor Method
CWE
Parent Class with a Virtual Destructor and a Child Class without a Virtual Destructor
CWE
Insufficient Control Flow Management
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.