---
title: "CWE-1279: Cryptographic Operations are Run Before Supporting Units are Ready"
url: https://radicalnotion.ai/cwe/cwe-1279
type: cwe
description: "Performing cryptographic operations without ensuring that the supporting inputs are ready to supply valid data may compromise the cryptographic result."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1279: Cryptographic Operations are Run Before Supporting Units are Ready

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

## Description

Performing cryptographic operations without ensuring that the supporting inputs are ready to supply valid data may compromise the cryptographic result.

## Background

Many cryptographic hardware units depend upon other hardware units to supply information to them to produce a securely encrypted result. For example, a cryptographic unit that depends on an external random-number-generator (RNG) unit for entropy must wait until the RNG unit is producing random numbers.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | The decision to continue using a cryptographic unit even though the input units to it are not producing valid data will compromise the encrypted result. |

## Applicable platforms

**Languages:** Verilog (Undetermined), VHDL (Undetermined)

**Technologies:** Processor Hardware (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Access Control, Confidentiality, Integrity, Availability, Accountability, Authentication, Authorization, Non-Repudiation | Varies by Context | - |

## Potential mitigations

### Architecture and Design

Best practices should be used to design cryptographic systems. If a cryptographic unit retrieves a private encryption key from a fuse unit, the fuse unit must be up and running before a key may be supplied.

### Implementation

Continuously ensuring that cryptographic inputs are supplying valid information is necessary to ensure that the encrypted output is secure.

## Demonstrative examples

### Example 1

The following pseudocode illustrates the weak encryption resulting from the use of a pseudo-random-number generator output.

Bad code:

```pseudocode
If random_number_generator_self_test_passed() == TRUE
then Seed = get_random_number_from_RNG()
else Seed = hardcoded_number
```

Good code:

```pseudocode
If random_number_generator_self_test_passed() == TRUE
then Seed = get_random_number_from_RNG()
else enter_error_state()
```

In the example above, first a check of RNG ready is performed. If the check fails, the RNG is ignored and a hard coded value is used instead. The hard coded value severely weakens the encrypted output.

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2023-4489 | Z/IP Gateway Use of Uninitialized PRNG when Generating S0 Encryption Key | critical | 9.8 | - | No | 2023-12-14 |
| CVE-2024-22473 | Uninitialized TRNG used for ECDSA after EM2/EM3 sleep for VSE devices | high | 7.5 | - | No | 2024-02-21 |

## Related attack patterns (CAPEC)

- [CAPEC-97](https://radicalnotion.ai/capec/capec-97): Cryptanalysis

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-665](https://radicalnotion.ai/cwe/cwe-665) | Improper Initialization |
| Parent | [CWE-696](https://radicalnotion.ai/cwe/cwe-696) | Incorrect Behavior Order |

## Frequently asked questions

### What is CWE-1279?

Performing cryptographic operations without ensuring that the supporting inputs are ready to supply valid data may compromise the cryptographic result.

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

2 recorded CVEs are attributed to CWE-1279, including CVE-2023-4489 and CVE-2024-22473.

### How do you prevent CWE-1279?

Best practices should be used to design cryptographic systems. If a cryptographic unit retrieves a private encryption key from a fuse unit, the fuse unit must be up and running before a key may be supplied.

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

Exploiting CWE-1279 can lead to: Varies by Context.

### Is CWE-1279 actively exploited?

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

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

---

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