Common Weakness Enumeration

    CWE Definition / CWE-1079

    CWE-1079: Parent Class without Virtual Destructor Method

    A parent class contains one or more child classes, but the parent class does not have a virtual destructor method.

    Published:2 Jul 2018
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-1076: Insufficient Adherence to Expected Conventions

    CWE-1079: Parent Class without Virtual Destructor Method | CVE-DB