CWE•Base•Incomplete•20 recent CVEs
CWE-908Use of Uninitialized Resource
Description
The product uses or accesses a resource that has not been initialized.
When a resource has not been properly initialized, the product may behave unexpectedly. This may lead to a crash or invalid memory access, but the consequences vary depending on the type of resource and how it is used within the product.
Common consequences
- Confidentiality→Read Memory,Read Application DataWhen reusing a resource such as memory or a program variable, the original contents of that resource may not be cleared before it is sent to an untrusted party.
- Availability→DoS: Crash, Exit, or RestartThe uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend.
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-660386.52026-07-24CVE-2026-660347.52026-07-24CVE-2026-472477.52026-07-21CVE-2026-163867.52026-07-21CVE-2026-163857.52026-07-21CVE-2026-163847.52026-07-21CVE-2026-533795.52026-07-19CVE-2026-600058.22026-07-15CVE-2026-585466.52026-07-14CVE-2026-585356.52026-07-14CVE-2026-585336.52026-07-14CVE-2026-579826.52026-07-14CVE-2026-570845.52026-07-14CVE-2026-570835.52026-07-14CVE-2026-561909.82026-07-14CVE-2026-559497.82026-07-14CVE-2026-550425.52026-07-14CVE-2026-506905.52026-07-14CVE-2026-504976.52026-07-14CVE-2026-504555.52026-07-14