Skip to content
OpenAdvisories

Weakness (CWE)

CWE-248: Uncaught Exception

Base Draft

An exception is thrown from a function, but it is not caught.

How to prevent it (3 mitigations)
  1. Requirements

    The 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.

  2. Requirements

    A 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.

  3. Implementation

    Catch 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.

Source: MITRE CWE-248

2 results · Clear filters · Feed

  • Medium 6.2
    CVE-2025-48907 Public exploit

    Deserialization vulnerability in the IPC module Impact: Successful exploitation of this vulnerability may affect availa…

  • Medium 6.5
    CVE-2023-22941 Public exploit

    Improperly Formatted ‘INGEST_EVAL’ Parameter Crashes Splunk Daemon

    In Splunk Enterprise versions below 8.1.13, 8.2.10, and 9.0.4, an improperly-formatted ‘INGEST_EVAL’ parameter in a Field Transformation crashes the Splunk daemon (splunkd).