CWE · MITRE source
CWE-460Improper Cleanup on Thrown Exception
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.
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 UPD | 6.9 | 8.8 | 0.0180 | 2022-02-04 |
CVE-2026-40583 | 6.2 | 8.2 | 0.0038 | 2026-04-21 |
CVE-2022-4744 UPD | 5.9 | 7.8 | 0.0046 | 2023-03-30 |
CVE-2023-46393 UPD | 5.8 | 7.5 | 0.0045 | 2023-10-27 |
CVE-2026-61387 | 5.8 | 7.5 | 0.0034 | 2026-08-04 |
CVE-2021-34716 UPD | 5.6 | 6.7 | 0.0239 | 2021-08-18 |
CVE-2017-9657 UPD | 5.2 | 6.5 | 0.0079 | 2018-04-30 |
CVE-2024-0316 UPD | 5.2 | 6.8 | 0.0032 | 2024-01-15 |
CVE-2025-30157 UPD | 5.1 | 6.5 | 0.0042 | 2025-03-21 |
CVE-2025-32439 UPD | 5.1 | 6.5 | 0.0037 | 2025-04-15 |
CVE-2026-20118 | 4.9 | 6.8 | 0.0032 | 2026-03-11 |
CVE-2025-69652 | 4.7 | 6.2 | 0.0017 | 2026-03-06 |
CVE-2024-12289 UPD | 4.6 | 5.9 | 0.0038 | 2024-12-12 |
CVE-2017-15127 UPD | 4.4 | 5.5 | 0.0038 | 2018-01-14 |
CVE-2026-33481 | 4.4 | 5.3 | 0.0041 | 2026-03-26 |
CVE-2019-14891 UPD | 4.2 | 5.0 | 0.0069 | 2019-11-25 |
CVE-2022-3707 UPD | 4.2 | 5.5 | 0.0022 | 2023-03-06 |
CVE-2016-9592 UPD | 4.0 | 4.3 | 0.0131 | 2018-04-16 |
CVE-2024-20354 UPD | 3.7 | 4.7 | 0.0029 | 2024-03-27 |
CVE-2020-14304 UPD | 3.6 | 4.4 | 0.0036 | 2020-09-15 |
CVE-2026-48524 UPD | 3.2 | 3.7 | 0.0034 | 2026-05-28 |
CVE-2025-59399 UPD | 2.7 | 3.1 | 0.0017 | 2025-09-15 |
CVE-2022-3301 UPD | 2.5 | 2.4 | 0.0058 | 2022-09-26 |