CWE•Base•Incomplete•7 recent CVEs
CWE-826Premature Release of Resource During Expected Lifetime
Description
The product releases a resource that is still intended to be used by itself or another actor.
[object Object]
Common consequences
- Confidentiality→Read Application Data,Read MemoryIf the released resource is subsequently reused or reallocated, then a read operation on the original resource might access sensitive data that is associated with a different user or entity.
- Availability→DoS: Crash, Exit, or RestartWhen the resource is released, the software might modify some of its structure, or close associated channels (such as a file descriptor). When the software later accesses the resource as if it is valid, the resource might not be in an expec
- Integrity,Confidentiality,Availability→Execute Unauthorized Code or Commands,Modify Application Data,Modify MemoryWhen the resource is released, the software might modify some of its structure. This might affect logic in the sections of code that still assume the resource is active. If the released resource is related to memory and is used in a functio