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: 14 October 2026 20:41 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 PROPOSED for this weakness (0)AI-assisted
These are model PROPOSALS, not graded mappings. They come
from controls_to_cwe_proposals, which carries no grade field at
all; across the CWE pages 1,540 of 1,722 such associations (89%) have never
been graded by anything. The heading said “address” until
2026-09-29, which asserted a relationship the data does not carry.
Graded cross-walks are on the framework map, not here.
| 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.3 | 8.2 | 0.0057 | 2026-04-21 |
CVE-2022-4744 UPD | 5.9 | 7.8 | 0.0046 | 2023-03-30 |
CVE-2026-61387 | 5.9 | 7.5 | 0.0062 | 2026-08-04 |
CVE-2026-93710 | 5.9 | 7.5 | 0.0063 | 2026-09-22 |
CVE-2023-46393 UPD | 5.8 | 7.5 | 0.0045 | 2023-10-27 |
CVE-2021-34716 UPD | 5.6 | 6.7 | 0.0239 | 2021-08-18 |
CVE-2017-9657 UPD | 5.2 | 6.5 | 0.0077 | 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.0044 | 2025-03-21 |
CVE-2025-32439 UPD | 5.1 | 6.5 | 0.0038 | 2025-04-15 |
CVE-2026-20118 | 5.0 | 6.8 | 0.0033 | 2026-03-11 |
CVE-2024-12289 UPD | 4.7 | 5.9 | 0.0039 | 2024-12-12 |
CVE-2025-69652 | 4.7 | 6.2 | 0.0018 | 2026-03-06 |
CVE-2026-86748 | 4.7 | 6.1 | 0.0040 | 2026-09-09 |
CVE-2026-33481 | 4.5 | 5.3 | 0.0052 | 2026-03-26 |
CVE-2017-15127 UPD | 4.4 | 5.5 | 0.0038 | 2018-01-14 |
CVE-2019-14891 UPD | 4.3 | 5.0 | 0.0080 | 2019-11-25 |
CVE-2022-3707 UPD | 4.2 | 5.5 | 0.0023 | 2023-03-06 |
CVE-2026-96273 | 4.1 | 5.5 | 0.0010 | 2026-09-23 |
CVE-2016-9592 UPD | 4.0 | 4.3 | 0.0124 | 2018-04-16 |
CVE-2020-14304 UPD | 3.7 | 4.4 | 0.0038 | 2020-09-15 |
CVE-2024-20354 UPD | 3.7 | 4.7 | 0.0029 | 2024-03-27 |
CVE-2026-48524 UPD | 3.2 | 3.7 | 0.0032 | 2026-05-28 |
CVE-2025-59399 UPD | 2.7 | 3.1 | 0.0017 | 2025-09-15 |