CWE-1419: Incorrect Initialization of Resource
10 CVEs have CWE-1419 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 0.498%.
The product attempts to initialize a resource but does not correctly do so, which might leave the resource in an unexpected, incorrect, or insecure state when it is accessed.
This can have security implications when the associated resource is expected to have certain properties or values. Examples include a variable that determines whether a user has been authenticated or not, or a register or fuse value that determines the security state of the product.
Child of CWE-665: Improper Initialization
Mitigations
- Implementation: Choose the safest-possible initialization for security-related resources.
- Implementation: Ensure that each resource (whether variable, memory buffer, register, etc.) is fully initialized.
- Implementation: Pay close attention to complex conditionals or reset sources that affect initialization, since some paths might not perform the initialization.
- Architecture and Design: Ensure that the design and architecture clearly identify what the initialization should be, and that the initialization does not have security implications.
Observed examples
- CVE-2020-27211: Chain: microcontroller system-on-chip uses a register value stored in flash to set product protection state on the memory bus and does not contain protection against fault injection (CWE-1319) which leads to an incorrect initialization of the memory bus (CWE-1419) causing the product to be in an unprotected state.
- CVE-2023-25815: Chain: a change in an underlying package causes the gettext function to use implicit initialization with a hard-coded path (CWE-1419) under the user-writable C: drive, introducing an untrusted search path element (CWE-427) that enables spoofing of messages.
- CVE-2022-43468: WordPress module sets internal variables based on external inputs, allowing false reporting of the number of views
- CVE-2022-36349: insecure default variable initialization in BIOS firmware for a hardware board allows DoS
- CVE-2015-7763: distributed filesystem only initializes part of the variable-length padding for a packet, allowing attackers to read sensitive information from previously-sent packets in the same memory location
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-1419'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-1419'
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).