BaseIncomplete

CWE-908Use of Uninitialized Resource

Category: logic

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· 2

  • Confidentiality — Read Memory, Read Application Data
    When 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 Restart
    The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend.

Potential mitigations· 4

  • [Implementation]Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.
  • [Implementation]Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
  • [Implementation]Avoid race conditions (CWE-362) during initialization routines.
  • [Build and Compilation]Run or compile the product with settings that generate warnings about uninitialized variables or data.

References

  1. https://cwe.mitre.org/data/definitions/908.html

(incoming)15

TypeTargetConfidenceTier
VulnerabilityCVE-2025-1942cve-2025-19420%live
VulnerabilityCVE-2025-27796cve-2025-277960%live
VulnerabilityCVE-2025-31361cve-2025-313610%live
VulnerabilityCVE-2025-31649cve-2025-316490%live
VulnerabilityCVE-2025-33070cve-2025-330700%live
VulnerabilityCVE-2025-50165cve-2025-501650%live
VulnerabilityCitrix NetScaler ADC and Gateway Out-of-Bounds Read Vulnerabilitycve-2025-57770%live
VulnerabilityCVE-2026-2806cve-2026-28060%live
VulnerabilityCVE-2026-40364cve-2026-403640%live
VulnerabilityCVE-2026-43139cve-2026-431390%live
VulnerabilityCVE-2026-43291cve-2026-432910%live
VulnerabilityCVE-2026-4715cve-2026-47150%live
VulnerabilityCVE-2026-4716cve-2026-47160%live
KEVEntryAndroid Pixel Information Disclosure Vulnerabilitykev-cve-2024-297450%live
KEVEntryLinux Kernel Use of Uninitialized Resource Vulnerabilitykev-cve-2024-503020%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Incorrect Initialization of Resource
CWE
Access of Uninitialized Pointer
CWE
Missing Initialization of Resource
CWE
Missing Initialization of a Variable
CWE
Improper Initialization
CWE
Operation on Resource in Wrong Phase of Lifetime
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.