CWE•Base•Draft•20 recent CVEs
CWE-248Uncaught Exception
Description
An exception is thrown from a function, but it is not caught.
Common consequences
- Availability,Confidentiality→DoS: Crash, Exit, or Restart,Read Application DataAn uncaught exception could cause the system to be placed in a state that could lead to a crash, exposure of sensitive information, or other unintended behaviors.
Potential mitigations
- RequirementsThe choice between a language which has named or unnamed exceptions needs to be done. While unnamed exceptions exacerbate the chance of not properly dealing with an exception, named exceptions suffer from the up call version of the weak base class problem.
- RequirementsA language can be used which requires, at compile time, to catch all serious exceptions. However, one must make sure to use the most current version of the API as new exceptions could be added.
- ImplementationCatch all relevant exceptions. This is the recommended solution. Ensure that all exceptions are handled in such a way that you can be sure of the state of your system at any given moment.
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-1111072026-10-27CVE-2026-1175415.32026-10-27CVE-2026-1165892026-10-26CVE-2026-1158922026-10-23CVE-2026-893182026-10-23CVE-2026-893162026-10-23CVE-2026-893152026-10-23CVE-2026-893122026-10-23CVE-2026-1138727.52026-10-22CVE-2026-1111817.52026-10-22CVE-2026-764937.52026-10-21CVE-2026-822312026-10-21CVE-2026-1141027.52026-10-21CVE-2026-1140517.52026-10-21CVE-2026-1056615.32026-10-18CVE-2026-422707.52026-10-16CVE-2026-870295.92026-10-15CVE-2026-870187.52026-10-15CVE-2026-1098697.52026-10-15CVE-2026-1039367.52026-10-15