CWE-908: Use of Uninitialized Resource
944 CVEs have CWE-908 as their primary weakness. 2 of them are in the CISA KEV catalog. The highest EPSS score among them is 94.683%.
The product uses or accesses a resource that has not been initialized.
Child of CWE-665: Improper Initialization
Mitigations
- 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.
Observed examples
- CVE-2019-9805: Chain: Creation of the packet client occurs before initialization is complete (CWE-696) resulting in a read from uninitialized memory (CWE-908), causing memory corruption.
- CVE-2008-4197: Use of uninitialized memory may allow code execution.
- CVE-2008-2934: Free of an uninitialized pointer leads to crash and possible code execution.
- CVE-2008-0063: Product does not clear memory contents when generating an error message, leading to information leak.
- CVE-2008-0062: Lack of initialization triggers NULL pointer dereference or double-free.
- CVE-2008-0081: Uninitialized variable leads to code execution in popular desktop application.
- CVE-2008-3688: Chain: Uninitialized variable leads to infinite loop.
- CVE-2008-3475: Chain: Improper initialization leads to memory corruption.
- CVE-2005-1036: Chain: Bypass of access restrictions due to improper authorization (CWE-862) of a user results from an improperly initialized (CWE-909) I/O permission bitmap
- CVE-2008-3597: Chain: game server can access player data structures before initialization has happened leading to NULL dereference
- CVE-2009-2692: Chain: Use of an unimplemented network socket operation pointing to an uninitialized handler function (CWE-456) causes a crash because of a null pointer dereference (CWE-476).
- CVE-2009-0949: Chain: improper initialization of memory can lead to NULL dereference
- CVE-2009-3620: Chain: some unprivileged ioctls do not verify that a structure has been initialized before invocation, leading to NULL dereference
- CVE-2008-5021: Composite: race condition (CWE-362) allows attacker to modify an object while it is still being initialized, causing software to access uninitialized memory (CWE-908).
Top released CVEs
KEV first, then the highest EPSS score, the highest CVSS score and the newest.
| CVE | Published | Severity | CVSS | EPSS | Description |
|---|---|---|---|---|---|
| CVE-2024-50302 | 2024-11-19 | MEDIUM | 5.5 | 0.811% | In the Linux kernel, the following vulnerability has been resolved: HID: core: zero-initialize the report buffer Since the report buffer is used by all kinds… |
| CVE-2024-29745 | 2024-04-05 | MEDIUM | 5.5 | 0.486% | there is a possible Information Disclosure due to uninitialized data. This could lead to local information disclosure with no additional execution privileges… |
| CVE-2025-71471 | 2026-11-16 | MEDIUM | 5.5 | 0.121% | GPAC before 26.02.0 contains a use of uninitialized memory vulnerability in stbl_AddCTS() that allows attackers to corrupt sample table data via crafted MP4… |
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-908'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-908'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).