---
title: "CWE-1332: Improper Handling of Faults that Lead to Instruction Skips"
url: https://radicalnotion.ai/cwe/cwe-1332
type: cwe
description: "The device is missing or incorrectly implements circuitry or sensors that detect and mitigate the skipping of security-critical CPU instructions when they occur."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1332: Improper Handling of Faults that Lead to Instruction Skips

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

## Description

The device is missing or incorrectly implements circuitry or sensors that detect and mitigate the skipping of security-critical CPU instructions when they occur.

## Background

The operating conditions of hardware may change in ways that cause unexpected behavior to occur, including the skipping of security-critical CPU instructions. Generally, this can occur due to electrical disturbances or when the device operates outside of its expected conditions.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | Failure to design appropriate countermeasures to common fault injection techniques can manifest this weakness. |
| Implementation | - |

## Applicable platforms

**Technologies:** System on Chip (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Authentication | Bypass Protection Mechanism, Alter Execution Logic, Unexpected State, Varies by Context | - |

## Potential mitigations

### Architecture and Design

Design strategies for ensuring safe failure if inputs, such as Vcc, are modified out of acceptable ranges.

### Architecture and Design

Design strategies for ensuring safe behavior if instructions attempt to be skipped.

### Architecture and Design

Identify mission critical secrets that should be wiped if faulting is detected, and design a mechanism to do the deletion.

### Implementation

Add redundancy by performing an operation multiple times, either in space or time, and perform majority voting. Additionally, make conditional instruction timing unpredictable.

### Implementation

Use redundant operations or canaries to detect and respond to faults.

### Implementation

Ensure that fault mitigations are strong enough in practice. For example, a low power detection mechanism that takes 50 clock cycles to trigger at lower voltages may be an insufficient security mechanism if the instruction counter has already progressed with no other CPU activity occurring.

## Detection methods

### Automated Static Analysis

This weakness can be found using automated static analysis once a developer has indicated which code paths are critical to protect.

Effectiveness: Moderate

### Simulation / Emulation

This weakness can be found using automated dynamic analysis. Both emulation of a CPU with instruction skips, as well as RTL simulation of a CPU IP, can indicate parts of the code that are sensitive to faults due to instruction skips.

Effectiveness: Moderate

### Manual Analysis

This weakness can be found using manual (static) analysis. The analyst has security objectives that are matched against the high-level code. This method is less precise than emulation, especially if the analysis is done at the higher level language rather than at assembly level.

Effectiveness: Moderate

## Demonstrative examples

### Example 1

A smart card contains authentication credentials that are used as authorization to enter a building. The credentials are only accessible when a correct PIN is presented to the card.

Good code:

```other
add an internal filter or internal power supply in series with the power supply pin on the device add sensing circuitry to reset the device if out of tolerance conditions are detected add additional execution sensing circuits to monitor the execution order for anomalies and abort the action or reset the device under fault conditions
```

There are several ways this weakness could be fixed.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2019-15894 | fault injection attack bypasses the verification mode, potentially allowing arbitrary code execution. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-8028 | Large branch table could lead to truncated instruction | critical | 9.8 | - | No | 2025-07-22 |
| CVE-2024-20059 | - | medium | 6.7 | - | No | 2024-05-06 |
| CVE-2024-20060 | - | medium | 5.9 | - | No | 2024-05-06 |

## Related attack patterns (CAPEC)

- [CAPEC-624](https://radicalnotion.ai/capec/capec-624): Hardware Fault Injection
- [CAPEC-625](https://radicalnotion.ai/capec/capec-625): Mobile Device Fault Injection

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-1384](https://radicalnotion.ai/cwe/cwe-1384) | Improper Handling of Physical or Environmental Conditions |
| Peer | [CWE-1247](https://radicalnotion.ai/cwe/cwe-1247) | Improper Protection Against Voltage and Clock Glitches |

## Frequently asked questions

### What is CWE-1332?

The device is missing or incorrectly implements circuitry or sensors that detect and mitigate the skipping of security-critical CPU instructions when they occur.

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

3 recorded CVEs are attributed to CWE-1332, including CVE-2025-8028, CVE-2024-20059 and CVE-2024-20060.

### How do you prevent CWE-1332?

Design strategies for ensuring safe failure if inputs, such as Vcc, are modified out of acceptable ranges.

### How is CWE-1332 detected?

Automated Static Analysis: This weakness can be found using automated static analysis once a developer has indicated which code paths are critical to protect.

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

Exploiting CWE-1332 can lead to: Bypass Protection Mechanism, Alter Execution Logic, Unexpected State, Varies by Context.

### Is CWE-1332 actively exploited?

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

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

---

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