Cyber Resilience

CWE · MITRE source

CWE-460Improper Cleanup on Thrown Exception

Abstraction: Base · CVEs in our corpus: 23

The product does not clean up its state or incorrectly cleans up its state when an exception is thrown, leading to unexpected state or control flow.

Often, when functions or loops become complicated, some level of resource cleanup is needed throughout execution. Exceptions can disturb the flow of the code and prevent the necessary cleanup from happening.

Last updated: 20 August 2026 13:14 UTC

OWASP Top 10 for Web (2025)

This weakness contributes to A10:2025 Mishandling of Exceptional Conditions.

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • PR.PS-06
  • SC-24 Fail in Known State
  • SI-17 Fail-safe Procedures
  • SA-8 Security and Privacy Engineering Principles
Detect
Catch it (CSF Detect / Respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

NIST 800-53 r5 controls that address this weakness (0)AI-assisted

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2022-22150 6.98.80.01802022-02-04
CVE-2026-405836.28.20.00382026-04-21
CVE-2022-4744 5.97.80.00462023-03-30
CVE-2023-46393 5.87.50.00452023-10-27
CVE-2026-613875.87.50.00342026-08-04
CVE-2021-34716 5.66.70.02392021-08-18
CVE-2017-9657 5.26.50.00792018-04-30
CVE-2024-0316 5.26.80.00322024-01-15
CVE-2025-30157 5.16.50.00422025-03-21
CVE-2025-32439 5.16.50.00372025-04-15
CVE-2026-201184.96.80.00322026-03-11
CVE-2025-696524.76.20.00172026-03-06
CVE-2024-12289 4.65.90.00382024-12-12
CVE-2017-15127 4.45.50.00382018-01-14
CVE-2026-334814.45.30.00412026-03-26
CVE-2019-14891 4.25.00.00692019-11-25
CVE-2022-3707 4.25.50.00222023-03-06
CVE-2016-9592 4.04.30.01312018-04-16
CVE-2024-20354 3.74.70.00292024-03-27
CVE-2020-14304 3.64.40.00362020-09-15
CVE-2026-48524 3.23.70.00342026-05-28
CVE-2025-59399 2.73.10.00172025-09-15
CVE-2022-3301 2.52.40.00582022-09-26