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

BaseIncomplete

A class contains a virtual method, but the method does not have an associated virtual destructor.

View on MITRE
Back to CWE Lookup

Extended Description

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.

Technical Details

Structure
Simple

Applicable To

Languages
Platforms

Learn More