CWE-758β€”Reliance on Undefined, Unspecified, or Implementation-Defined Behavior

PUBLISHEDweakness record
released 2009-03-10 Β· last modified 2025-12-11

Metadata

CWE ID:
CWE-758
Abstraction:
Class
Structure:
Simple
Status:
Incomplete
Release Date:
2009-03-10
Latest Modification Date:
2025-12-11

Weakness Name

Reliance on Undefined, Unspecified, or Implementation-Defined Behavior

Description

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.

This can lead to resultant weaknesses when the required properties change, such as when the product is ported to a different platform or if an interaction error (CWE-435) occurs.

Common Consequences

Scope:
Other
Impact:
Reduce Maintainability, Unexpected State, Quality Degradation

Related Weaknesses