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-157102026-09-11CVE-2026-876473.42026-09-09CVE-2026-876424.32026-09-09CVE-2026-875763.42026-09-09CVE-2026-875554.72026-09-09CVE-2026-874974.32026-09-09CVE-2026-874563.42026-09-09CVE-2026-858807.82026-09-08CVE-2026-819585.52026-09-08CVE-2026-813915.52026-09-08CVE-2026-800916.52026-09-08CVE-2026-785198.82026-09-08CVE-2026-729897.52026-09-08CVE-2026-729455.52026-09-08CVE-2026-702905.52026-09-08CVE-2026-698534.72026-09-08CVE-2026-697705.52026-09-08CVE-2026-696725.52026-09-08CVE-2026-694858.82026-09-08CVE-2026-693587.12026-09-08