CWE-758: Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
The product uses an API function, data structure, or other entity in a way that relies on properties that are not always guaranteed to hold for that entity.
Last updated
Overview
CWE-758 (Reliance on Undefined, Unspecified, or Implementation-Defined Behavior) is a class-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
25 recorded CVEs are caused by CWE-758 (Reliance on Undefined, Unspecified, or Implementation-Defined Behavior). The highest-severity and most recent are shown first. 17 new CWE-758 CVEs have been recorded so far in 2026 (3 in 2025).