Cyber Posture

CWE · MITRE source

CWE-457Use of Uninitialized Variable

Abstraction: Variant · CVEs in our corpus: 132

The code uses a variable that has not been initialized, leading to unpredictable or unintended results.

In some languages such as C and C++, stack variables are not initialized by default. They generally contain junk data with the contents of stack memory before the function was invoked. An attacker can sometimes control or read these contents. In other languages or conditions, a variable that is not explicitly initialized can be given a default value that has security implications, depending on the logic of the program. The presence of an uninitialized variable can sometimes indicate a typographic error in the code.

Last updated: 09 May 2026 03:25 UTC

NIST 800-53 r5 controls that address this weakness (0)AI

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2025-5777 KEV7.57.50.66672025-06-17
CVE-2021-404182.09.80.01322021-12-22
CVE-2022-212172.09.80.00442022-01-28
CVE-2022-405102.09.80.00152023-08-08
CVE-2024-326112.09.80.00342024-05-14
CVE-2024-109342.09.80.00272024-11-15
CVE-2024-475402.09.80.01312024-12-12
CVE-2025-536442.09.80.00112025-07-17
CVE-2025-548742.09.80.00112025-08-05
CVE-2026-67482.09.80.00062026-04-21
CVE-2023-312751.88.80.00972023-11-27
CVE-2024-69901.88.80.00342024-08-01
CVE-2020-271241.88.60.01772024-11-18
CVE-2025-57491.88.80.00042025-06-06
CVE-2026-28061.89.10.00062026-02-24
CVE-2019-110381.75.30.10542019-06-19
CVE-2022-283191.77.80.02012023-03-29
CVE-2022-283201.77.80.02012023-03-29
CVE-2024-231371.77.80.02822024-02-22
CVE-2023-420621.77.80.02002024-05-03
CVE-2021-349531.77.80.02002024-05-07
CVE-2024-330211.78.40.00152024-08-05
CVE-2024-78681.78.20.00242024-08-15
CVE-2025-202711.78.60.00172025-06-18
CVE-2026-63111.78.30.00032026-04-15