Common Weakness Enumeration

    CWE Definition / CWE-584

    CWE-584: Return Inside Finally Block

    The code has a return statement inside a finally block, which will cause any thrown exception in the try block to be discarded.

    Published:15 Dec 2006
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-705: Incorrect Control Flow Scoping

    CWE-584: Return Inside Finally Block | CVE-DB