CWE-453: Insecure Default Variable Initialization

low-risk

The product, by default, initializes an internal variable with an insecure or less secure value than is possible.

Abstraction: Variant

Common Consequences

Integrity Modify Application Data

Detection Methods

Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Real-World Examples (10)

CVE CVSS EPSS KEV
CVE-2024-21411 8.8 5.0%
CVE-2022-47197 5.4 1.8%
CVE-2022-47194 5.4 0.6%
CVE-2022-3262 8.1 0.4%
CVE-2022-47196 5.4 0.4%
CVE-2022-47195 5.4 0.4%
CVE-2025-47945 9.1 0.3%
CVE-2024-39916 6.4 0.3%
CVE-2021-27426 9.8 0.3%
CVE-2024-49120 8.1 0.2%
0
/ 100
low-risk
Active Threat 0/50 · Minimal
Exploit Availability 0/50 · Minimal