Skip to content

CWE-758: Reliance on Undefined, Unspecified, or Implementation-Defined Behavior

Class

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.

Consequences

  • Other: Reduce Maintainability, Unexpected State, Quality Degradation

Recent advisories

All advisories for CWE-758

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor