CWE•Base•Incomplete•20 recent CVEs
CWE-908Use of Uninitialized Resource
Description
The product uses or accesses a resource that has not been initialized.
Common consequences
- Confidentiality→Read Memory,Read Application DataWhen reusing a resource such as memory or a program variable, the original contents may not have been cleared before it is sent to an untrusted party.
- Availability→DoS: Crash, Exit, or Restart,DoS: InstabilityThe uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend, possibly leading to a crash.
- Other→Unexpected State,Varies by ContextThe consequences vary depending on the type of resource and how it is used within the product.
Potential mitigations
- ImplementationExplicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.
- ImplementationPay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
- ImplementationAvoid race conditions (CWE-362) during initialization routines.
- Build and CompilationRun or compile the product with settings that generate warnings about uninitialized variables or data.
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-1167394.32026-10-26CVE-2026-810387.12026-10-26CVE-2026-1161807.72026-10-25CVE-2026-1153862.62026-10-22CVE-2026-1146514.02026-10-22CVE-2026-1145015.32026-10-21CVE-2026-1128976.22026-10-19CVE-2026-1094385.32026-10-14CVE-2026-976296.52026-10-14CVE-2026-1040865.52026-10-14CVE-2026-970118.82026-10-13CVE-2026-968505.52026-10-13CVE-2026-968495.52026-10-13CVE-2026-962475.52026-10-13CVE-2026-962066.52026-10-13CVE-2026-881508.82026-10-13CVE-2026-858437.82026-10-13CVE-2026-853227.52026-10-13CVE-2026-853205.52026-10-13CVE-2026-839254.72026-10-13