CWE-664
Improper Control of a Resource Through its Lifetime
Description
The product does not maintain or incorrectly maintains control over a resource throughout its lifetime of creation, use, and release.
Top Monitored CVEs
Consequences
Other
—
Varies by Context
When code does not follow the instructions for resource management, it can lead to unexpected behaviors and potentially exploitable states.
Detection
Automated Static Analysis
Use Static analysis tools to check for unreleased resources.