Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-908 (对未经初始化资源的使用) — Vulnerability Class 290

290 vulnerabilities classified as CWE-908 (对未经初始化资源的使用). AI Chinese analysis included.

CWE-908 represents a critical software weakness where an application accesses or utilizes a resource that has not been properly initialized. This flaw typically arises when developers fail to set default values or allocate necessary memory before first use, leading to unpredictable system behavior. Attackers often exploit this vulnerability by triggering specific code paths that expose uninitialized data, potentially causing application crashes, invalid memory access errors, or information disclosure of sensitive residual data from previous operations. To mitigate this risk, developers must enforce strict initialization protocols, ensuring all variables, pointers, and objects are explicitly assigned valid states before any read or write operations occur. Implementing comprehensive static analysis tools and rigorous code reviews further helps identify these gaps, ensuring robust resource management and preventing the execution of undefined logic that could compromise system stability or security.

MITRE CWE 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.
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.
Examples (2)
Here, a boolean initiailized field is consulted to ensure that initialization tasks are only completed once. However, the field is mistakenly set to true during static initialization, so the initialization code is never reached.
private boolean initialized = true; public void someMethod() { if (!initialized) { // perform initialization tasks ... initialized = true; }
Bad · Java
The following code intends to limit certain operations to the administrator only.
$username = GetCurrentUser(); $state = GetStateData($username); if (defined($state)) { $uid = ExtractUserID($state); } # do stuff if ($uid == 0) { DoAdminThings(); }
Bad · Perl
CVE ID Title CVSS Severity Published
CVE-2025-53799 Windows Imaging Component Information Disclosure Vulnerability — Microsoft Office for Android 5.5 Medium 2025-09-09
CVE-2025-55198 Helm May Panic Due To Incorrect YAML Content — helm 6.5 Medium 2025-08-13
CVE-2025-50157 Windows Routing and Remote Access Service (RRAS) Information Disclosure Vulnerability — Windows Server 2008 R2 Service Pack 1 5.7 Medium 2025-08-12
CVE-2025-53719 Windows Routing and Remote Access Service (RRAS) Information Disclosure Vulnerability — Windows Server 2008 R2 Service Pack 1 5.7 Medium 2025-08-12
CVE-2025-53153 Windows Routing and Remote Access Service (RRAS) Information Disclosure Vulnerability — Windows Server 2008 R2 Service Pack 1 5.7 Medium 2025-08-12
CVE-2025-53148 Windows Routing and Remote Access Service (RRAS) Information Disclosure Vulnerability — Windows Server 2008 R2 Service Pack 1 5.7 Medium 2025-08-12
CVE-2025-53138 Windows Routing and Remote Access Service (RRAS) Information Disclosure Vulnerability — Windows Server 2008 R2 Service Pack 1 5.7 Medium 2025-08-12
CVE-2025-50156 Windows Routing and Remote Access Service (RRAS) Information Disclosure Vulnerability — Windows Server 2008 R2 Service Pack 1 5.7 Medium 2025-08-12
CVE-2025-53759 Microsoft Excel Remote Code Execution Vulnerability — Microsoft 365 Apps for Enterprise 7.8 High 2025-08-12
CVE-2025-2329 High traffic causes corrupt SPI packets in OpenThread leading to denial of service — OpenThread 7.5 - 2025-07-25
CVE-2025-41239 vSockets information-disclosure vulnerability — ESXi 7.1 High 2025-07-15
CVE-2025-49718 Microsoft SQL Server Information Disclosure Vulnerability — Microsoft SQL Server 2019 (CU 32) 7.5 High 2025-07-08
CVE-2025-33070 Windows Netlogon Elevation of Privilege Vulnerability — Windows 10 Version 1507 8.1 High 2025-06-10
CVE-2025-33052 Windows DWM Core Library Information Disclosure Vulnerability — Windows 10 Version 1809 5.5 Medium 2025-06-10
CVE-2025-29958 Windows Routing and Remote Access Service (RRAS) Information Disclosure Vulnerability — Windows 10 Version 1507 6.5 Medium 2025-05-13
CVE-2025-29830 Windows Routing and Remote Access Service (RRAS) Information Disclosure Vulnerability — Windows 10 Version 1507 6.5 Medium 2025-05-13
CVE-2025-29829 Windows Trusted Runtime Interface Driver Information Disclosure Vulnerability — Windows 10 Version 1507 5.5 Medium 2025-05-13
CVE-2025-29959 Windows Routing and Remote Access Service (RRAS) Information Disclosure Vulnerability — Windows 10 Version 1507 6.5 Medium 2025-05-13
CVE-2025-27474 Windows Routing and Remote Access Service (RRAS) Information Disclosure Vulnerability — Windows Server 2008 R2 Service Pack 1 6.5 Medium 2025-04-08
CVE-2023-37930 Fortinet多款产品 安全漏洞 — FortiProxy 6.7 High 2025-04-08
CVE-2025-27810 Mbed TLS 安全漏洞 — mbedtls 5.4 Medium 2025-03-25
CVE-2025-27796 GraphicsMagick 安全漏洞 — GraphicsMagick 4.5 Medium 2025-03-07
CVE-2025-26803 Phusion Passenger 安全漏洞 — Passenger 5.3 Medium 2025-02-24
CVE-2025-21312 Windows Smart Card Reader Information Disclosure Vulnerability — Windows 10 Version 1507 2.4 Low 2025-01-14
CVE-2025-21220 Microsoft Message Queuing Information Disclosure Vulnerability — Windows 10 Version 1507 7.5 High 2025-01-14
CVE-2025-21357 Microsoft Outlook Remote Code Execution Vulnerability — Microsoft 365 Apps for Enterprise 6.7 Medium 2025-01-14
CVE-2025-21288 Windows COM Server Information Disclosure Vulnerability — Windows 10 Version 1507 6.5 Medium 2025-01-14
CVE-2025-21272 Windows COM Server Information Disclosure Vulnerability — Windows 10 Version 1507 6.5 Medium 2025-01-14
CVE-2024-12085 Rsync: info leak via uninitialized stack contents 7.5 High 2025-01-14
CVE-2024-13164 Ivanti EPM 安全漏洞 — Endpoint Manager 7.8 High 2025-01-14

Vulnerabilities classified as CWE-908 (对未经初始化资源的使用) represent 290 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.