Katalog CWE

CWE-1079 · Słabość

Parent Class without Virtual Destructor Method

Abstrakcja
Bazowa
Status
Niekompletny
Dodano
2 lipca 2018
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

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

Skutki

  • Other

    Reduce Reliability

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

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific

Źródła

  1. Automated Source Code Reliability Measure (ASCRM) — Object Management Group (OMG), ASCRM-RLB-16, 2016

Wpis z katalogu CWE 4.20.