CWE-664: Improper Control of a Resource Through its Lifetime, published in 2025
Filter
The product does not maintain or incorrectly maintains control over a resource throughout its lifetime of creation, use, and release.
What the weakness is: CWE-664 at MITRE. All weaknesses
Related attack patterns (CAPEC): 5
- CAPEC-21 Exploitation of Trusted Identifiers Likelihood: High · Severity: High
- CAPEC-60 Reusing Session IDs (aka Session Replay) Likelihood: High · Severity: High
- CAPEC-61 Session Fixation Likelihood: Medium · Severity: High
- CAPEC-62 Cross Site Request Forgery Likelihood: High · Severity: Very High
- CAPEC-196 Session Credential Falsification through Forging Likelihood: Medium · Severity: Medium
The attack patterns MITRE's CAPEC relates to CWE-664, as MITRE names them. Credits.
Ask an AI about CWE-664
Show the prompt
Explain CWE-664: Improper Control of a Resource Through its Lifetime and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/664.html and https://cve.bz/cve/cwe/664?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.1CVE-2025-34226EPSS 0.6%
OpenPLC Runtime v3 contains an input validation flaw in the /upload-program-action endpoint: the epoch_time field supplied during program uploads is not validated and can be crafted to induce corruption of the programs database. After a su…
- 3.3CVE-2025-54621huawei harmonyosEPSS 0.2%
Iterator failure issue in the WantAgent module. Impact: Successful exploitation of this vulnerability may cause memory release failures.
- 3.3CVE-2025-54619huawei harmonyosEPSS 0.2%
Iterator failure issue in the multi-mode input module. Impact: Successful exploitation of this vulnerability may cause iterator failures and affect availability.
- 3.3CVE-2025-54613huawei harmonyosEPSS 0.2%
Iterator failure vulnerability in the card management module. Impact: Successful exploitation of this vulnerability may affect function stability.
- 3.3CVE-2025-54612huawei harmonyosEPSS 0.2%
Iterator failure vulnerability in the card management module. Impact: Successful exploitation of this vulnerability may affect function stability.
- 7.5CVE-2024-41169apache zeppelinEPSS 1.3%
The attacker can use the raft server protocol in an unauthenticated way. The attacker can see the server's resources, including directories and files. This issue affects Apache Zeppelin: from 0.10.1 up to 0.12.0. Users are recommended to…
- 7.1CVE-2025-21593juniperEPSS 0.4%
An Improper Control of a Resource Through its Lifetime vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated network-based attacker to cause a Denial-of-Service (DoS)…