What it is
The product does not clean up its state or incorrectly cleans up its state when an exception is thrown.
Impact on systems
| Scope | Impact |
|---|---|
| Other | Unexpected State, Varies by Context Exceptions can disturb the flow of the code and prevent the necessary cleanup from happening. This could lead to unexpected state or control flow. |
How to prevent it
Source: MITRE CWE catalog · Official entry on the MITRE website