Back to CWE list
CWE-1087
Class with Virtual Method without a Virtual Destructor
Base
Incomplete
Description
A class contains a virtual method, but the method does not have an associated virtual destructor.
Parent Weaknesses (ChildOf)
Common Consequences
Scope
Other
Impact
Reduce Reliability
Applicable Platforms
Object-Oriented
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now