Umbra Wiki weakness weakness/CWE-1087
Back to wiki

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

provenance: imported · CWE: CWE-1087

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

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Incomplete
Likelihood of exploit

Description

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

Common consequences

  • Other: Reduce Reliability

Mitigations

(none listed)

References

  • CWE page: https://cwe.mitre.org/data/definitions/1087.html
  • CWE list: https://cwe.mitre.org/data/index.html