---
title: "CWE-1272: Sensitive Information Uncleared Before Debug/Power State Transition"
url: https://radicalnotion.ai/cwe/cwe-1272
type: cwe
description: "The product performs a power or debug state transition, but it does not clear sensitive information that should no longer be accessible due to changes to information access restrictions."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1272: Sensitive Information Uncleared Before Debug/Power State Transition

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

## Description

The product performs a power or debug state transition, but it does not clear sensitive information that should no longer be accessible due to changes to information access restrictions.

## Background

A device or system frequently employs many power and sleep states during its normal operation (e.g., normal power, additional power, low power, hibernate, deep sleep, etc.). A device also may be operating within a debug condition. State transitions can happen from one power or debug state to another.

## Modes of introduction

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

## Applicable platforms

**Languages:** VHDL (Undetermined), Verilog (Undetermined), Hardware Description Language (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Availability, Access Control, Accountability, Authentication, Authorization, Non-Repudiation | Read Memory, Read Application Data | If there is information available in the previous state which should not be available in the next state and is not properly removed before the transition into the next state, sensitive information may leak from the system. The sensitive information may be used to unlock additional capabilities of the device and take advantage of hidden functionalities which could be used to compromise device security. |

## Potential mitigations

### Architecture and Design, Implementation

During state transitions, information not needed in the next state should be removed before the transition to the next state.

## Detection methods

### Manual Analysis

Write a known pattern into each sensitive location. Enter the power/debug state in question. Read data back from the sensitive locations. If the reads are successful, and the data is the same as the pattern that was originally written, the test fails and the device needs to be fixed. Note that this test can likely be automated.

Effectiveness: High

## Demonstrative examples

### Example 1

This example shows how an attacker can take advantage of an incorrect state transition.

Bad code:

```other
During the transition from A to B, the device does not scrub the memory.
```

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2020-12926 | Product software does not set a flag as per TPM specifications, thereby preventing a failed authorization attempt from being recorded after a loss of power. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2020-22656 | - | high | 7.5 | - | No | 2023-01-20 |
| CVE-2023-41967 | - | medium | 4.6 | - | No | 2023-12-18 |

## Related attack patterns (CAPEC)

- [CAPEC-150](https://radicalnotion.ai/capec/capec-150): Collect Data from Common Resource Locations
- [CAPEC-37](https://radicalnotion.ai/capec/capec-37): Retrieve Embedded Sensitive Data
- [CAPEC-545](https://radicalnotion.ai/capec/capec-545): Pull Data from System Resources
- [CAPEC-546](https://radicalnotion.ai/capec/capec-546): Incomplete Data Deletion in a Multi-Tenant Environment

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-226](https://radicalnotion.ai/cwe/cwe-226) | Sensitive Information in Resource Not Removed Before Reuse |
| Child | [CWE-1239](https://radicalnotion.ai/cwe/cwe-1239) | Improper Zeroization of Hardware Register |
| Child | [CWE-1258](https://radicalnotion.ai/cwe/cwe-1258) | Exposure of Sensitive System Information Due to Uncleared Debug Information |
| Can precede | [CWE-200](https://radicalnotion.ai/cwe/cwe-200) | Exposure of Sensitive Information to an Unauthorized Actor |

## Frequently asked questions

### What is CWE-1272?

The product performs a power or debug state transition, but it does not clear sensitive information that should no longer be accessible due to changes to information access restrictions.

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

2 recorded CVEs are attributed to CWE-1272, including CVE-2020-22656 and CVE-2023-41967.

### How do you prevent CWE-1272?

During state transitions, information not needed in the next state should be removed before the transition to the next state.

### How is CWE-1272 detected?

Manual Analysis: Write a known pattern into each sensitive location. Enter the power/debug state in question. Read data back from the sensitive locations. If the reads are successful, and the data is the same as the pattern that was originally written, the test fails and the device needs to be fixed. Note that this test can likely be automated.

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

Exploiting CWE-1272 can lead to: Read Memory, Read Application Data.

### Is CWE-1272 actively exploited?

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

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

---

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