---
title: "CWE-1243: Sensitive Non-Volatile Information Not Protected During Debug"
url: https://radicalnotion.ai/cwe/cwe-1243
type: cwe
description: "Access to security-sensitive information stored in fuses is not limited during debug."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1243: Sensitive Non-Volatile Information Not Protected During Debug

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

## Description

Access to security-sensitive information stored in fuses is not limited during debug.

Several security-sensitive values are programmed into fuses to be used during early-boot flows or later at runtime. Examples of these security-sensitive values include root keys, encryption keys, manufacturing-specific information, chip-manufacturer-specific information, and original-equipment-manufacturer (OEM) data. After the chip is powered on, these values are sensed from fuses and stored in temporary locations such as registers and local memories. These locations are typically access-control protected from untrusted agents capable of accessing them. Even to trusted agents, only read-access is provided.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Access Control | Modify Memory, Read Memory, Bypass Protection Mechanism | If these locations are not blocked during debug operations, it can allow a user to access this sensitive information. |

## Potential mitigations

### Architecture and Design, Implementation

Disable access to security-sensitive information stored in fuses directly and also reflected from temporary storage locations when in debug mode.

## Demonstrative examples

### Example 1

Sensitive manufacturing data (such as die information) are stored in fuses. When the chip powers on, these values are read from the fuses and stored in microarchitectural registers. These registers are only given read access to trusted software running on the core. Untrusted software running on the core is not allowed to access these registers.

Bad code:

```other
All microarchitectural registers in this chip can be accessed through the debug interface. As a result, even an untrusted debugger can access this data and retrieve sensitive manufacturing data.
```

Good code:

```other
Registers used to store sensitive values read from fuses should be blocked during debug. These registers should be disconnected from the debug interface.
```

### Example 2

The example code below is taken from one of the AES cryptographic accelerators of the HACK@DAC'21 buggy OpenPiton SoC \[REF-1366\]. The operating system (OS) uses three AES keys to encrypt and decrypt sensitive data using this accelerator. These keys are sensitive data stored in fuses. The security of the OS will be compromised if any of these AES keys are leaked. During system bootup, these AES keys are sensed from fuses and stored in temporary hardware registers of the AES peripheral. Access to these temporary registers is disconnected during the debug state to prevent them from leaking through debug access. In this example (see the vulnerable code source), the registers key0, key1, and key2 are used to store the three AES keys (which are accessed through key\_big0, key\_big1, and key\_big2 signals). The OS selects one of these three keys through the key\_big signal, which is used by the AES engine.

Bad code:

```systemverilog
...
assign key_big0    = debug_mode_i ? 192'b0 : {key0[0],
key0[1], key0[2], key0[3], key0[4], key0[5]};

assign key_big1    = debug_mode_i ? 192'b0 : {key1[0],
key1[1], key1[2], key1[3], key1[4], key1[5]};

assign key_big2    = {key2[0], key2[1], key2[2],
key2[3], key2[4], key2[5]};
...
assign key_big = key_sel[1] ? key_big2 : ( key_sel[0] ?
key_big1 : key_big0 );
...
```

Good code:

```systemverilog
...
assign key_big0    = debug_mode_i ? 192'b0 : {key0[0],
key0[1], key0[2], key0[3], key0[4], key0[5]};

assign key_big1    = debug_mode_i ? 192'b0 : {key1[0],
key1[1], key1[2], key1[3], key1[4], key1[5]};

assign key_big2    = debug_mode_i ? 192'b0 : {key2[0],
key2[1], key2[2], key2[3], key2[4], key2[5]};
...
assign key_big = debug_mode_i ? 192'b0 : (  key_sel[1] ?
key_big2 : ( key_sel[0] ? key_big1 : key_big0 )  );
...
```

## Related attack patterns (CAPEC)

- [CAPEC-116](https://radicalnotion.ai/capec/capec-116): Excavation
- [CAPEC-545](https://radicalnotion.ai/capec/capec-545): Pull Data from System Resources

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-1263](https://radicalnotion.ai/cwe/cwe-1263) | Improper Physical Access Control |

## Frequently asked questions

### What is CWE-1243?

Access to security-sensitive information stored in fuses is not limited during debug.

### How do you prevent CWE-1243?

Disable access to security-sensitive information stored in fuses directly and also reflected from temporary storage locations when in debug mode.

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

Exploiting CWE-1243 can lead to: Modify Memory, Read Memory, Bypass Protection Mechanism.

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

---

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