---
title: "CWE-453: Insecure Default Variable Initialization"
url: https://radicalnotion.ai/cwe/cwe-453
type: cwe
description: "The product, by default, initializes an internal variable with an insecure or less secure value than is possible."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-453: Insecure Default Variable Initialization

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 22
- **Of those, in CISA KEV:** 0
- **New in 2026:** 7
- **CWE catalog version:** 4.21

## Description

The product, by default, initializes an internal variable with an insecure or less secure value than is possible.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |

## Applicable platforms

**Languages:** PHP (Sometimes)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity | Modify Application Data | An attacker could gain access to and modify sensitive data or system information. |

## Potential mitigations

### System Configuration

Disable or change default settings when they can be used to abuse the system. Since those default settings are shipped with the product they are likely to be known by a potential attacker who is familiar with the product. For instance, default credentials should be changed or the associated accounts should be disabled.

## Detection methods

### Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

## Demonstrative examples

### Example 1

This code attempts to login a user using credentials from a POST request:

Bad code:

```php
// $user and $pass automatically set from POST request
if (login_user($user,$pass)) {
    $authorized = true;
}
...

if ($authorized) {
    generatePage();
}
```

Good code:

```php
$user = $_POST['user'];
$pass = $_POST['pass'];
$authorized = false;
if (login_user($user,$pass)) {
    $authorized = true;
}
...
```

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2022-36349 | insecure default variable initialization in BIOS firmware for a hardware board allows DoS |

## Real CVEs with this weakness (sample of 12 of 22)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-0082 | - | critical | 10.0 | - | No | 2026-06-17 |
| CVE-2025-47945 | Donetick Has Weak Default JWT Secret | critical | 9.8 | - | No | 2025-05-17 |
| CVE-2021-27426 | GE UR family insecure default variable initialization | critical | 9.8 | - | No | 2022-03-23 |
| CVE-2026-92950 | vm2 before 3.11.7 Sandbox Escape via CLI require | critical | 9.3 | - | No | 2026-09-17 |
| CVE-2024-21411 | Skype for Consumer Remote Code Execution Vulnerability | high | 8.8 | - | No | 2024-03-12 |
| CVE-2024-41255 | Filestash configured to skip TLS certificate verification when using the FTPS protocol | high | 8.7 | - | No | 2024-07-31 |
| CVE-2026-59596 | - | high | 8.4 | - | No | 2026-11-10 |
| CVE-2024-49120 | Windows Remote Desktop Services Remote Code Execution Vulnerability | high | 8.1 | - | No | 2024-12-10 |
| CVE-2022-3262 | openshift: insecure default DNSPolicy for pods | high | 8.1 | - | No | 2022-12-08 |
| CVE-2025-48563 | Elevation of privilege in Framework | high | 7.8 | - | No | 2025-09-04 |
| CVE-2023-27516 | Improper access control in PacketiX VPN and SoftEther VPN | high | 7.8 | - | No | 2023-10-12 |
| CVE-2026-103577 | Microsoft QUIC Security Feature Bypass Vulnerability | high | 7.5 | - | No | 2026-10-13 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-1188](https://radicalnotion.ai/cwe/cwe-1188) | Initialization of a Resource with an Insecure Default |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Insecure default variable initialization | - | - |

## Frequently asked questions

### What is CWE-453?

The product, by default, initializes an internal variable with an insecure or less secure value than is possible.

### What CVEs are caused by CWE-453?

22 recorded CVEs are attributed to CWE-453, including CVE-2026-0082, CVE-2025-47945 and CVE-2021-27426.

### How do you prevent CWE-453?

Disable or change default settings when they can be used to abuse the system. Since those default settings are shipped with the product they are likely to be known by a potential attacker who is familiar with the product. For instance, default credentials should be changed or the associated accounts should be disabled.

### How is CWE-453 detected?

Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

### What are the consequences of CWE-453?

Exploiting CWE-453 can lead to: Modify Application Data.

### Is CWE-453 actively exploited?

22 recorded CVEs are caused by CWE-453; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/453.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-453). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
