---
title: "CWE-1290: Incorrect Decoding of Security Identifiers"
url: https://radicalnotion.ai/cwe/cwe-1290
type: cwe
description: "The product implements a decoding mechanism to decode certain bus-transaction signals to security identifiers, but it decodes an untrusted agent's security identifier into a trusted agent's security identifier."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1290: Incorrect Decoding of Security Identifiers

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

## Description

The product implements a decoding mechanism to decode certain bus-transaction signals to security identifiers, but it decodes an untrusted agent's security identifier into a trusted agent's security identifier.

## Background

In a System-On-Chip (SoC), various integrated circuits and hardware engines generate transactions such as to access (reads/writes) assets or perform certain actions (e.g., reset, fetch, compute, etc.). Among various types of message information, a typical transaction is comprised of source identity (to identify the originator of the transaction) and a destination identity (to route the transaction to the respective entity). Sometimes the transactions are qualified with a security identifier. The security identifier helps the destination agent decide on the set of allowed actions (e.g., access an asset for read and writes). A decoder decodes the bus transactions to map security identifiers into necessary access-controls/protections.

## Modes of introduction

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

## Applicable platforms

**Technologies:** Bus/Interface Hardware (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Availability, Access Control | Modify Memory, Read Memory, DoS: Resource Consumption (Other), Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity, Quality Degradation | If the decoding of an untrusted agent's identifier produces the security identifier of a trusted agent, then the untrusted agent can gain unauthorized access to the asset. |

## Potential mitigations

### Architecture and Design

Security identifier decoders must be reviewed for design consistency and common weaknesses.

### Implementation

Access and programming flows must be tested in pre-silicon and post-silicon testing in order to check for this weakness.

## Demonstrative examples

### Example 1

Consider a system that has four bus masters and a decoder. The decoder is supposed to decode every bus transaction and assign a corresponding security identifier. The security identifier is used to determine accesses to the assets. The bus transaction that contains the security information is Bus\_transaction \[15:14\], and the bits 15 through 14 contain the security identifier information. The table below provides bus masters as well as their security identifiers and trust assumptions:

Bus Master, Security Identifier Decoding, Trust Assumptions

Master\_0, "00", Untrusted

Master\_1, "01", Trusted

Master\_2, "10", Untrusted

Master\_3, "11", Untrusted

The assets are the AES-Key registers for encryption or decryption. The key is 128 bits implemented as a set of four 32-bit registers. The AES\_KEY\_ACCESS\_POLICY is used to define which agents with a security identifier in the transaction can access the AES-key registers. The size of the security identifier is 4 bits (i.e., bit 3 through 0). Each bit in these 4 bits defines a security identifier. There are only 4 security identifiers that are allowed accesses to the AES-key registers. The number of the bit when set (i.e., "1") allows respective action from an agent whose identity matches the number of the bit. If clear (i.e., "0"), disallows the respective action to that corresponding agent.

Register, Field description

AES\_ENC\_DEC\_KEY\_0, AES key \[0:31\] for encryption or decryptionDefault 0x00000000

AES\_ENC\_DEC\_KEY\_1, AES key \[32:63\] for encryption or decryptionDefault 0x00000000

AES\_ENC\_DEC\_KEY\_2, AES key \[64:95\] for encryption or decryptionDefault 0x00000000

AES\_ENC\_DEC\_KEY\_3, AES key \[96:127\] for encryption or decryptionDefault 0x00000000

AES\_KEY\_ACCESS\_POLCY, \[31:4\] Default 0x00000000\[3:0\]-0x01 agent with Security Identified "1" has access to AES\_ENC\_DEC\_KEY\_0 through AES\_ENC\_DEC\_KEY\_3 registers

Informative code:

```other
If (AES_KEY_ACCESS_POLICY[Security_Identifier] == "1")
    Allow access to AES-Key registers

Else
    Deny access to AES-Key registers
```

Bad code:

```other
If (Bus_transaction[14] == "1")
    Security_Identifier == "1"

Else
    Security_Identifier == "0"
```

Good code:

```other
If (Bus_transaction[15:14] == "00")
    Security_Identifier == "0"

If (Bus_transaction[15:14] == "01")
    Security_Identifier == "1"

If (Bus_transaction[15:14] == "10")
    Security_Identifier == "2"

If (Bus_transaction[15:14] == "11")
    Security_Identifier == "3"
```

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-55222 | Isar: Unprivileged user ownership of trusted repository GPG public keys storage after bootstrap | medium | 5.1 | - | No | 2026-10-23 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-1294](https://radicalnotion.ai/cwe/cwe-1294) | Insecure Security Identifier Mechanism |

## Frequently asked questions

### What is CWE-1290?

The product implements a decoding mechanism to decode certain bus-transaction signals to security identifiers, but it decodes an untrusted agent's security identifier into a trusted agent's security identifier.

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

1 recorded CVE is attributed to CWE-1290: CVE-2026-55222.

### How do you prevent CWE-1290?

Security identifier decoders must be reviewed for design consistency and common weaknesses.

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

Exploiting CWE-1290 can lead to: Modify Memory, Read Memory, DoS: Resource Consumption (Other), Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity, Quality Degradation.

### Is CWE-1290 actively exploited?

1 recorded CVE is caused by CWE-1290; it is not currently in CISA's KEV catalog of actively exploited flaws.

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

---

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