CWE-394

Unexpected Status Code or Return Value
AI Translation Available

The product does not properly check when a function or operation returns a value that is legitimate for the function, but is not expected by the product.

Status
draft
Abstraction
base

Common Consequences

integrity other
Impacts
unexpected state alter execution logic

Detection Methods

automated static analysis

Potential Mitigations