---
title: "CWE-1342: Information Exposure through Microarchitectural State after Transient Execution"
url: https://radicalnotion.ai/cwe/cwe-1342
type: cwe
description: "The processor does not properly clear microarchitectural state after incorrect microcode assists or speculative execution, resulting in transient execution."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1342: Information Exposure through Microarchitectural State after Transient Execution

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

## Description

The processor does not properly clear microarchitectural state after incorrect microcode assists or speculative execution, resulting in transient execution.

In many processor architectures an exception, mis-speculation, or microcode assist results in a flush operation to clear results that are no longer required. This action prevents these results from influencing architectural state that is intended to be visible from software. However, traces of this transient execution may remain in microarchitectural buffers, resulting in a change in microarchitectural state that can expose sensitive information to an attacker using side-channel analysis. For example, Load Value Injection (LVI) \[REF-1202\] can exploit direct injection of erroneous values into intermediate load and store buffers.

Several conditions may need to be fulfilled for a successful attack:

incorrect transient execution that results in remanence of sensitive information;

attacker has the ability to provoke microarchitectural exceptions;

operations and structures in victim code that can be exploited must be identified.

## Modes of introduction

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

## Applicable platforms

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

**Architectures:** Workstation (Undetermined), x86 (Undetermined), ARM (Undetermined), Other (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity | Modify Memory, Read Memory, Execute Unauthorized Code or Commands | - |

## Potential mitigations

### Architecture and Design, Requirements

Hardware ensures that no illegal data flows from faulting micro-ops exists at the microarchitectural level.

Effectiveness: High. Being implemented in silicon it is expected to fully address the known weaknesses with limited performance impact.

### Build and Compilation

Include instructions that explicitly remove traces of unneeded computations from software interactions with microarchitectural elements e.g. lfence, sfence, mfence, clflush.

Effectiveness: High. This effectively forces the processor to complete each memory access before moving on to the next operation. This may have a large performance impact.

## Demonstrative examples

### Example 1

Faulting loads in a victim domain may trigger incorrect transient forwarding, which leaves secret-dependent traces in the microarchitectural state. Consider this example from \[REF-1203\].

Bad code:

```c
void call_victim(size_t untrusted_arg) {
    *arg_copy = untrusted_arg;
    array[**trusted_ptr * 4096];
}
```

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2020-0551 | Load value injection in some processors utilizing speculative execution may allow an authenticated user to enable information disclosure via a side-channel with local access. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-18796 | QSPI flash encryption side-channel leakage | medium | 6.8 | - | No | 2026-09-07 |
| CVE-2023-28746 | kernel: Local information disclosure on Intel(R) Atom(R) processors | medium | 6.5 | - | No | 2024-03-14 |
| CVE-2022-40982 | hw: Intel: Gather Data Sampling (GDS) side channel vulnerability | medium | 6.5 | - | No | 2023-08-11 |

## Related attack patterns (CAPEC)

- [CAPEC-696](https://radicalnotion.ai/capec/capec-696): Load Value Injection

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-226](https://radicalnotion.ai/cwe/cwe-226) | Sensitive Information in Resource Not Removed Before Reuse |

## Frequently asked questions

### What is CWE-1342?

The processor does not properly clear microarchitectural state after incorrect microcode assists or speculative execution, resulting in transient execution.

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

3 recorded CVEs are attributed to CWE-1342, including CVE-2026-18796, CVE-2023-28746 and CVE-2022-40982.

### How do you prevent CWE-1342?

Hardware ensures that no illegal data flows from faulting micro-ops exists at the microarchitectural level.

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

Exploiting CWE-1342 can lead to: Modify Memory, Read Memory, Execute Unauthorized Code or Commands.

### Is CWE-1342 actively exploited?

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

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

---

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