Common Weakness Enumeration

    CWE Definition / CWE-768

    CWE-768: Incorrect Short Circuit Evaluation

    The product contains a conditional statement with multiple logical expressions in which one of the non-leading expressions may produce side effects. This may lead to an unexpected state in the program after the execution of the conditional, because short-circuiting logic may prevent the side effects from occurring.

    Published:3 Mar 2009
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-691: Insufficient Control Flow Management