CWE-1258β€”Exposure of Sensitive System Information Due to Uncleared Debug Information

PUBLISHEDweakness record
released 2020-02-24 Β· last modified 2025-12-11

Metadata

CWE ID:
CWE-1258
Abstraction:
Base
Structure:
Simple
Status:
Draft
Release Date:
2020-02-24
Latest Modification Date:
2025-12-11

Weakness Name

Exposure of Sensitive System Information Due to Uncleared Debug Information

Description

The hardware does not fully clear security-sensitive values, such as keys and intermediate values in cryptographic operations, when debug mode is entered.

Security sensitive values, keys, intermediate steps of cryptographic operations, etc. are stored in temporary registers in the hardware. If these values are not cleared when debug mode is entered they may be accessed by a debugger allowing sensitive information to be accessible by untrusted parties.

Common Consequences

Scope:
Confidentiality
Impact:
Read Memory
Scope:
Access Control
Impact:
Bypass Protection Mechanism

Related Weaknesses