Common Weakness Enumeration
CWE Definition / CWE-394
CWE-394: Unexpected Status Code or Return Value
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.
Published:19 Jul 2006
Organization:MITRE
Modified:11 Dec 2025
Related Weakness
CWE-754: Improper Check for Unusual or Exceptional Conditions
