---
title: "CWE-1326: Missing Immutable Root of Trust in Hardware"
url: https://radicalnotion.ai/cwe/cwe-1326
type: cwe
description: "A missing immutable root of trust in the hardware results in the ability to bypass secure boot or execute untrusted or adversarial boot code."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1326: Missing Immutable Root of Trust in Hardware

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

## Description

A missing immutable root of trust in the hardware results in the ability to bypass secure boot or execute untrusted or adversarial boot code.

## Background

A System-on-Chip (SoC) implements secure boot by verifying or authenticating signed boot code. The signing of the code is achieved by an entity that the SoC trusts. Before executing the boot code, the SoC verifies that the code (or the public key with which the code has been signed) has not been tampered with. The other data upon which the SoC depends are system-hardware settings in fuses, such as whether "Secure Boot is enabled". These data play a crucial role in establishing a Root of Trust (RoT) to execute secure-boot flows. One of the many ways RoT is achieved is by storing the code and data in memory or fuses. This memory should be immutable, i.e., once the RoT is programmed/provisioned in memory, that memory should be locked and prevented from further programming or writes.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | Such issues could be introduced during policy definition, hardware architecture, design, manufacturing, and/or provisioning. They can be identified later during testing or system configuration phases. |

## Applicable platforms

**Technologies:** Security Hardware (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Authentication, Authorization | Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands, Modify Memory | - |

## Potential mitigations

### Architecture and Design

When architecting the system, the RoT should be designated for storage in a memory that does not allow further programming/writes. Note that, for components like ROM, secure patching/update features should be supported to allow authenticated and authorized updates in the field.

### Implementation

During implementation and test, the RoT memory location should be demonstrated to not allow further programming/writes.

## Detection methods

### Automated Dynamic Analysis

Automated testing can verify that RoT components are immutable.

Effectiveness: High

### Architecture or Design Review

Root of trust elements and memory should be part of architecture and design reviews.

Effectiveness: High

## Demonstrative examples

### Example 1

The RoT is stored in memory. This memory can be modified by an adversary. For example, if an SoC implements "Secure Boot" by storing the boot code in an off-chip/on-chip flash, the contents of the flash can be modified by using a flash programmer. Similarly, if the boot code is stored in ROM (Read-Only Memory) but the public key or the hash of the public key (used to enable "Secure Boot") is stored in Flash or a memory that is susceptible to modifications or writes, the implementation is vulnerable.

### Example 2

The example code below is a snippet from the bootrom of the HACK@DAC'19 buggy OpenPiton SoC \[REF-1348\]. The contents of the bootrom are critical in implementing the hardware root of trust.

Bad code:

```systemverilog
...
    always_ff @(posedge clk_i) begin
        if (req_i) begin
            if (!we_i) begin
                raddr_q <= addr_i[$clog2(RomSize)-1+3:3];
            end else begin
                mem[addr_i[$clog2(RomSize)-1+3:3]] <= wdata_i;
            end
        end
    end
...

// this prevents spurious Xes from propagating into the speculative fetch stage of the core
assign rdata_o = (raddr_q < RomSize) ? mem[raddr_q] : '0;
...
```

Good code:

```systemverilog
...
    always_ff @(posedge clk_i) begin
        if (req_i) begin
            raddr_q <= addr_i[$clog2(RomSize)-1+3:3];
        end
    end
...

// this prevents spurious Xes from propagating into the speculative fetch stage of the core
assign rdata_o = (raddr_q < RomSize) ? mem[raddr_q] : '0;
...
```

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-5834 | Pioneer DMH-WT7600NEX Missing Immutable Root of Trust in Hardware Local Privilege Escalation Vulnerability | high | 7.8 | - | No | 2025-06-25 |
| CVE-2025-2762 | CarlinKit CPC200-CCPA Missing Root of Trust Local Privilege Escalation Vulnerability | high | 7.8 | - | No | 2025-04-23 |
| CVE-2024-8357 | Visteon Infotainment App SoC Missing Immutable Root of Trust in Hardware Local Privilege Escalation Vulnerability | high | 7.8 | - | No | 2024-11-22 |
| CVE-2024-32742 | Missing Immutable Root of Trust in Hardware in Siemens SIMATIC CN 4100 | high | 7.6 | - | No | 2024-05-14 |
| CVE-2024-30111 | Missing Root Detection vulnerability affects DRYiCE AEX v10 | high | 7.5 | - | No | 2024-06-28 |
| CVE-2025-34502 | Shuffle Master Deck Mate 2 Missing Secure Boot | high | 7.0 | - | No | 2025-10-24 |
| CVE-2022-38773 | Missing Immutable Root of Trust in Hardware in Siemens S7-1500 CPU devices | medium | 6.8 | - | No | 2023-01-10 |
| CVE-2024-20821 | - | medium | 4.4 | - | No | 2024-05-07 |
| CVE-2025-31929 | Affected devices do not contain an Immutable Root of Trust in M0 Hardware. An attacker with physical access to the device could use this to execute arbitrary code. | medium | 4.1 | - | No | 2025-05-13 |

## Related attack patterns (CAPEC)

- [CAPEC-679](https://radicalnotion.ai/capec/capec-679): Exploitation of Improperly Configured or Implemented Memory Protections
- [CAPEC-68](https://radicalnotion.ai/capec/capec-68): Subvert Code-signing Facilities

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-693](https://radicalnotion.ai/cwe/cwe-693) | Protection Mechanism Failure |

## Frequently asked questions

### What is CWE-1326?

A missing immutable root of trust in the hardware results in the ability to bypass secure boot or execute untrusted or adversarial boot code.

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

9 recorded CVEs are attributed to CWE-1326, including CVE-2025-5834, CVE-2025-2762 and CVE-2024-8357.

### How do you prevent CWE-1326?

When architecting the system, the RoT should be designated for storage in a memory that does not allow further programming/writes. Note that, for components like ROM, secure patching/update features should be supported to allow authenticated and authorized updates in the field.

### How is CWE-1326 detected?

Automated Dynamic Analysis: Automated testing can verify that RoT components are immutable.

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

Exploiting CWE-1326 can lead to: Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands, Modify Memory.

### Is CWE-1326 actively exploited?

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

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

---

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