CWE-456

Missing Initialization of a Variable
AI Translation Available

The product does not initialize critical variables, which causes the execution environment to use unexpected values.

Status
draft
Abstraction
variant

Common Consequences

integrity other
Impacts
unexpected state quality degradation varies by context

Detection Methods

automated static analysis

Potential Mitigations

Phases:
implementation requirements
Descriptions:
• Ensure that critical variables are initialized before first use [REF-1485].
• Choose a language that is not susceptible to these issues.