Common Weakness Enumeration

    CWE Definition / CWE-393

    CWE-393: Return of Wrong Status Code

    A function or operation returns an incorrect return value or status code that does not indicate the true result of execution, causing the product to modify its behavior based on the incorrect result.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-684: Incorrect Provision of Specified Functionality

    CWE-703: Improper Check or Handling of Exceptional Conditions