CWE Database
/

CWE-431

Back to CWE list

CWE-431

Missing Handler

Base
Draft

Description

A handler is not available or implemented.

When an exception is thrown and not caught, the process has given up an opportunity to decide if a given failure or event is worth a change in execution.

Related Weaknesses

Common Consequences

Scope

Other

Impact

Varies by Context

Potential Mitigations

Implementation

Handle all possible situations (e.g. error condition).

Implementation

If an operation can throw an Exception, implement a handler for that specific exception.

CVE-2022-25302

SDK for OPC Unified Architecture (OPC UA) is missing a handler for when a cast fails, allowing for a crash

Applicable Platforms

Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now