- What is CWE-772?
- The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.
- What CVEs are caused by CWE-772?
- 71 recorded CVEs are attributed to CWE-772, including CVE-2024-20481, CVE-2026-39830, CVE-2020-14339. 1 are listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
- How do you prevent CWE-772?
- Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
- How is CWE-772 detected?
- Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
- What are the consequences of CWE-772?
- Exploiting CWE-772 can lead to: DoS: Resource Consumption (Other), DoS: Resource Consumption (Memory), DoS: Resource Consumption (CPU).
- Is CWE-772 actively exploited?
- Yes. 1 CWE-772 vulnerabilities are in CISA's KEV catalog of actively exploited flaws, out of 71 recorded CVEs.