CWE
Home > CWE List > CWE-664 Individual Dictionary Definition (Draft 9)   View the CWE List

CWE-664 Individual Dictionary Definition (Draft 9)

Insufficient Control of a Resource Through its Lifetime
Weakness ID
Status: Draft

664 (Weakness Base)

Description

Summary

The software does not correctly initialize, use, or release a resource according to its specifications.

Extended Description

Resources typically have explicit instructions on how to be created, used and destroyed. When software fails to follow these instructions it can lead to unexpected behaviors and potentially exploitable states.

Relationships
NatureTypeIDName
ChildOfCategoryCategory361Time and State
ParentOfWeakness BaseWeakness BaseWeakness Base404Improper Resource Shutdown or Release
ParentOfWeakness BaseWeakness BaseWeakness Base665Incorrect or Incomplete Initialization
ParentOfWeakness BaseWeakness BaseWeakness Base666Operation on Resource in Wrong Phase of Lifetime
Page Last Updated: April 22, 2008