---
title: "CWE-455: Non-exit on Failed Initialization"
url: https://radicalnotion.ai/cwe/cwe-455
type: cwe
description: "The product does not exit or otherwise modify its operation when security-relevant errors occur during initialization, such as when a configuration file has a format error or a hardware security module (HSM) cannot be activated, which can cause the product to execute in a less secure fashion than intended by the administrator."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-455: Non-exit on Failed Initialization

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

## Description

The product does not exit or otherwise modify its operation when security-relevant errors occur during initialization, such as when a configuration file has a format error or a hardware security module (HSM) cannot be activated, which can cause the product to execute in a less secure fashion than intended by the administrator.

## Modes of introduction

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

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity, Other | Modify Application Data, Alter Execution Logic | The application could be placed in an insecure state that may allow an attacker to modify sensitive data or allow unintended logic to be executed. |

## Potential mitigations

### Implementation

Follow the principle of failing securely when an error occurs. The system should enter a state where it is not vulnerable and will not display sensitive error messages to a potential attacker.

## Demonstrative examples

### Example 1

The following code intends to limit certain operations to the administrator only.

Bad code:

```perl
$username = GetCurrentUser();
$state = GetStateData($username);
if (defined($state)) {
    $uid = ExtractUserID($state);
}

# do stuff
if ($uid == 0) {
    DoAdminThings();
}
```

If the application is unable to extract the state information - say, due to a database timeout - then the $uid variable will not be explicitly set by the programmer. This will cause $uid to be regarded as equivalent to "0" in the conditional, allowing the original user to perform administrator actions. Even if the attacker cannot directly influence the state data, unexpected errors could cause incorrect privileges to be assigned to a user just by accident.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2005-1345 | Product does not trigger a fatal error if missing or invalid ACLs are in a configuration file. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2022-49886 | x86/tdx: Panic on bad configs that #VE on "private" memory access | high | 8.4 | - | No | 2025-05-01 |
| CVE-2026-16584 | AWS API MCP Server Security Policy Bypass via Startup Failure | high | 7.3 | - | No | 2026-07-23 |
| CVE-2025-38414 | wifi: ath12k: fix GCC\_GCC\_PCIE\_HOT\_RST definition for WCN7850 | high | 7.0 | - | No | 2025-07-25 |
| CVE-2026-137036 | Bootc: bootc: failed bootc-root-setup can switch root into the unverified sysroot | medium | 6.8 | - | No | 2026-11-26 |
| CVE-2026-43012 | net/mlx5: Fix switchdev mode rollback in case of failure | medium | 6.7 | - | No | 2026-05-01 |
| CVE-2026-90351 | wifi: mt76: mt7996: do not attach hif2 WED when the main WED attach failed | medium | 5.5 | - | No | 2026-09-17 |
| CVE-2022-4662 | kernel: Recursive locking violation in usb-storage that can cause the kernel to deadlock | medium | 5.5 | - | No | 2022-12-22 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-636](https://radicalnotion.ai/cwe/cwe-636) | Not Failing Securely |
| Parent | [CWE-665](https://radicalnotion.ai/cwe/cwe-665) | Improper Initialization |
| Parent | [CWE-705](https://radicalnotion.ai/cwe/cwe-705) | Incorrect Control Flow Scoping |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Non-exit on Failed Initialization | - | - |

## Frequently asked questions

### What is CWE-455?

The product does not exit or otherwise modify its operation when security-relevant errors occur during initialization, such as when a configuration file has a format error or a hardware security module (HSM) cannot be activated, which can cause the product to execute in a less secure fashion than intended by the administrator.

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

7 recorded CVEs are attributed to CWE-455, including CVE-2022-49886, CVE-2026-16584 and CVE-2025-38414.

### How do you prevent CWE-455?

Follow the principle of failing securely when an error occurs. The system should enter a state where it is not vulnerable and will not display sensitive error messages to a potential attacker.

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

Exploiting CWE-455 can lead to: Modify Application Data, Alter Execution Logic.

### Is CWE-455 actively exploited?

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

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

---

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