1. CVE archive
  2. Vulnerability types
  3. CWE-460
CWE-460 · #303 most frequent type in the archive

Improper Cleanup on Thrown Exception

The product does not clean up its state or incorrectly cleans up its state when an exception is thrown.

Part of: CWE-459 · Incomplete Cleanup

25CVEs of this type in the archive
1critical (CVSS ≥ 9)
9high severity (7–8.9)
Nov 21, 2026latest published

What it is

The product does not clean up its state or incorrectly cleans up its state when an exception is thrown.

Impact on systems

ScopeImpact
Other Unexpected State, Varies by Context
Exceptions can disturb the flow of the code and prevent the necessary cleanup from happening. This could lead to unexpected state or control flow.

How to prevent it

Implementation If one breaks from a loop or function by throwing an exception, make sure that cleanup happens or that you should exit the program. Use throwing exceptions sparsely.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-460 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20181
20201
20221
20231
20242
20253
202616

All CWE-460 CVEs

25 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.