CWE-459: Incomplete Cleanup

BaseDraft

The product does not properly "clean up" and remove temporary or supporting resources after they have been used.

View on MITRE
Back to CWE Lookup

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms

Frequently Asked Questions

What is CWE-459: Incomplete Cleanup?+

CWE-459: Incomplete Cleanup is a Common Weakness Enumeration (CWE) entry maintained by MITRE. The product does not properly "clean up" and remove temporary or supporting resources after they have been used.

What are the security consequences of Incomplete Cleanup?+

If exploited, CWE-459 (Incomplete Cleanup) it can compromise Other, Confidentiality and Integrity, leading to outcomes such as Other, Read Application Data, Modify Application Data and DoS: Resource Consumption (Other).

How do you prevent or mitigate Incomplete Cleanup?+

Recommended mitigations for CWE-459 include: Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed.

Which programming languages are affected by Incomplete Cleanup?+

CWE-459 commonly affects Not Language-Specific. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.

What are real-world examples of Incomplete Cleanup?+

MITRE documents real CVEs mapped to CWE-459, including CVE-2000-0552, CVE-2005-2293, CVE-2002-0788, CVE-2002-2066 and CVE-2002-2067. You can look up the full details of each CVE, including CVSS scores and remediation guidance, on our CVE Lookup tool.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-459 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More

CWE-459: Incomplete Cleanup | CWE Lookup | InventiveHQ