CWE-1087: Class with Virtual Method without a Virtual Destructor

ID CWE-1087
Abstraction Base
Structure Simple
Status Incomplete
A class contains a virtual method, but the method does not have an associated virtual destructor.

This issue can prevent the product from running reliably, e.g. due to undefined behavior. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability.

Relationships

View Weakness
# ID View Status # ID Name Abstraction Structure Status
CWE-1000 Research Concepts Draft CWE-1076 Insufficient Adherence to Expected Conventions Class Simple Incomplete
Loading...
Loading...