logo
Home/CWEs/CWE-584/

CWE-584 - Return Inside Finally Block

  • Abstraction:Base
  • Structure:Simple
  • Status:Draft
  • Release Date:2006-12-15
  • Latest Modification Date:2023-06-29

Weakness Name

Return Inside Finally Block

Description

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

Common Consequences

Scope: Other

Impact: Alter Execution Logic

Related Weaknesses

CWE-705Incorrect Control Flow Scoping