CWE-1069βEmpty Exception Block
PUBLISHEDweakness record
released 2019-01-03 Β· last modified 2026-04-30
Metadata
- CWE ID:
- CWE-1069
- Abstraction:
- Variant
- Structure:
- Simple
- Status:
- Incomplete
- Release Date:
- 2019-01-03
- Latest Modification Date:
- 2026-04-30
Weakness Name
Empty Exception Block
Description
An invokable code block contains an exception handling block that does not contain any code, i.e. is empty.
Common Consequences
- Scope:
- Other
- Impact:
- Reduce Reliability
- Notes:
- When an exception handling block (such as a Catch and Finally block) is used, but that block is empty, this can prevent the product from running reliably. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability.