CWE-457

Overview
  • CWE ID
  • 457
  • CWE Name
  • Use of Uninitialized Variable
  • CWE Abstraction
  • Variant
  • CWE structure
  • Simple
  • CWE Status
  • Draft
Description
The code uses a variable that has not been initialized, leading to unpredictable or unintended results.
Extended Description
In some languages such as C and C++, stack variables are not initialized by default. They generally contain junk data with the contents of stack memory before the function was invoked. An attacker can sometimes control or read these contents. In other lan
Related CWEs
CWE ID View ID Nature Ordinal
908 1000 ChildOf Primary
665 1305 ChildOf Primary
665 1340 ChildOf Primary