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: 09 May 2026 03:25 UTC
NIST 800-53 r5 controls that address this weakness (0)AI
| 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 | 1.8 | 8.8 | 0.0086 | 2022-02-04 |
CVE-2022-4744 | 1.6 | 7.8 | 0.0010 | 2023-03-30 |
CVE-2026-40583 | 1.6 | 8.2 | 0.0006 | 2026-04-21 |
CVE-2023-46393 | 1.5 | 7.5 | 0.0003 | 2023-10-27 |
CVE-2021-34716 | 1.4 | 6.7 | 0.0110 | 2021-08-18 |
CVE-2024-0316 | 1.4 | 6.8 | 0.0005 | 2024-01-15 |
CVE-2026-20118 | 1.4 | 6.8 | 0.0009 | 2026-03-11 |
CVE-2017-9657 | 1.3 | 6.5 | 0.0036 | 2018-04-30 |
CVE-2025-30157 | 1.3 | 6.5 | 0.0003 | 2025-03-21 |
CVE-2025-32439 | 1.3 | 6.5 | 0.0031 | 2025-04-15 |
CVE-2024-12289 | 1.2 | 5.9 | 0.0039 | 2024-12-12 |
CVE-2025-69652 | 1.2 | 6.2 | 0.0002 | 2026-03-06 |
CVE-2017-15127 | 1.1 | 5.5 | 0.0004 | 2018-01-14 |
CVE-2022-3707 | 1.1 | 5.5 | 0.0001 | 2023-03-06 |
CVE-2026-33481 | 1.1 | 5.3 | 0.0005 | 2026-03-26 |
CVE-2019-14891 | 1.0 | 5.0 | 0.0032 | 2019-11-25 |
CVE-2016-9592 | 0.9 | 4.3 | 0.0032 | 2018-04-16 |
CVE-2020-14304 | 0.9 | 4.4 | 0.0006 | 2020-09-15 |
CVE-2024-20354 | 0.9 | 4.7 | 0.0004 | 2024-03-27 |
CVE-2025-59399 | 0.6 | 3.1 | 0.0002 | 2025-09-15 |
CVE-2022-3301 | 0.5 | 2.4 | 0.0027 | 2022-09-26 |