1624
Mapped Taxonomy Name Node ID Fit Mapped Node Name
CERT C Secure Coding FIO42-C CWE More
Abstract
Close files when they are no longer
needed
CERT C Secure Coding MEM31-
C
CWE More
Abstract
Free dynamically allocated memory
when no longer needed
Software Fault Patterns SFP14 Failure to Release Resource
ISA/IEC 62443 Part 3-3 Req SR 7.2
ISA/IEC 62443 Part 4-1 Req SVV-1
ISA/IEC 62443 Part 4-2 Req CR 7.2
CWE-772: Missing Release of Resource after Effective Lifetime
Weakness ID : 772
Structure : Simple
Abstraction : Base
Description
The product does not release a resource after its effective lifetime has ended, i.e., after the
resource is no longer needed.
Extended Description
When a resource is not released after use, it can allow attackers to cause a denial of service by
causing the allocation of resources without triggering their release. Frequently-affected resources
include memory, CPU, disk space, power or battery, etc.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 404 Improper Resource Shutdown or Release 980
ParentOf 401 Missing Release of Memory after Effective Lifetime 973
ParentOf 775 Missing Release of File Descriptor or Handle after Effective
Lifetime