---
title: "CWE-325: Missing Cryptographic Step"
url: https://radicalnotion.ai/cwe/cwe-325
type: cwe
description: "The product does not implement a required step in a cryptographic algorithm, resulting in weaker encryption than advertised by the algorithm."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-325: Missing Cryptographic Step

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

## Description

The product does not implement a required step in a cryptographic algorithm, resulting in weaker encryption than advertised by the algorithm.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | Developers sometimes omit "expensive" (resource-intensive) steps in order to improve performance, especially in devices with limited memory or slower CPUs. This step may be taken under a mistaken impression that the step is unnecessary for the cryptographic algorithm. |
| Requirements | This issue may happen when the requirements for the cryptographic algorithm are not clearly stated. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Access Control | Bypass Protection Mechanism | - |
| Confidentiality, Integrity | Read Application Data, Modify Application Data | - |
| Accountability, Non-Repudiation | Hide Activities | - |

## Detection methods

### Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

## Demonstrative examples

### Example 1

The example code is taken from the HMAC engine inside the buggy OpenPiton SoC of HACK@DAC'21 \[REF-1358\]. HMAC is a message authentication code (MAC) that uses both a hash and a secret crypto key. The HMAC engine in HACK@DAC SoC uses the SHA-256 module for the calculation of the HMAC for 512 bits messages.

Bad code:

```systemverilog
logic [511:0] bigData;
...

hmac hmac(
    .clk_i(clk_i),
    .rst_ni(rst_ni && ~rst_4),
    .init_i(startHash && ~startHash_r),
    .key_i(key),
    .ikey_hash_i(ikey_hash),
    .okey_hash_i(okey_hash),
    .key_hash_bypass_i(key_hash_bypass),
    .message_i(bigData),
    .hash_o(hash),
    .ready_o(ready),
    .hash_valid_o(hashValid)
```

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2001-1585 | Missing challenge-response step allows authentication bypass using public key. |

## Real CVEs with this weakness (sample of 12 of 65)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-3938 | Missing Cryptographic Step | critical | 9.8 | - | No | 2025-05-22 |
| CVE-2022-24116 | Inadequate Encryption Strength in General Electric Renewable Energy MDS Radios | critical | 9.8 | - | No | 2022-12-26 |
| CVE-2026-4601 | jsrsasign: Missing cryptographic validation during DSA signing enables private key extraction | critical | 9.4 | - | No | 2026-03-23 |
| CVE-2026-22863 | Deno node:crypto doesn't finalize cipher | critical | 9.2 | - | No | 2026-01-15 |
| CVE-2026-17666 | Cryptographic Flaw in Enterprise | critical | 9.1 | - | No | 2026-07-30 |
| CVE-2020-15098 | Missing Required Cryptographic Step Leading to Sensitive Information Disclosure in TYPO3 CMS | high | 8.8 | - | No | 2020-07-29 |
| CVE-2026-101294 | IBM WebSphere Application Server and WebSphere Application Server Liberty are affected by a missing cryptographic step | high | 8.7 | - | No | 2026-10-13 |
| CVE-2026-16000 | KCcmBlockCipher (DSTU 7624 CCM) tag not bound to nonce when no associated data is used | high | 8.7 | - | No | 2026-10-02 |
| CVE-2026-76784 | Insufficient Cryptographic Protections in Local Device Communication Protocol on Multiple TP-Link Kasa Smart Home Devices | high | 8.7 | - | No | 2026-08-26 |
| CVE-2025-30147 | ALTBN128\_ADD, ALTBN128\_MUL, ALTBN128\_PAIRING precompile functions do not check if points are on curve | high | 8.7 | - | No | 2025-05-07 |
| CVE-2026-41395 | OpenClaw \< 2026.3.28 - Webhook Replay via Query Parameter Reordering in Plivo V3 | high | 8.2 | - | No | 2026-04-28 |
| CVE-2026-117957 | Cryptographic issue in the WebRTC: Networking component | high | 8.1 | - | No | 2026-10-27 |

## Related attack patterns (CAPEC)

- [CAPEC-68](https://radicalnotion.ai/capec/capec-68): Subvert Code-signing Facilities

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-573](https://radicalnotion.ai/cwe/cwe-573) | Improper Following of Specification by Caller |
| Parent | [CWE-1240](https://radicalnotion.ai/cwe/cwe-1240) | Use of a Cryptographic Primitive with a Risky Implementation |
| Child | [CWE-1431](https://radicalnotion.ai/cwe/cwe-1431) | Driving Intermediate Cryptographic State/Results to Hardware Module Outputs |
| Peer | [CWE-358](https://radicalnotion.ai/cwe/cwe-358) | Improperly Implemented Security Check for Standard |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Missing Required Cryptographic Step | - | - |
| OWASP Top Ten 2007 | Insecure Cryptographic Storage | A8 | CWE More Specific |
| OWASP Top Ten 2007 | Insecure Communications | A9 | CWE More Specific |

## Frequently asked questions

### What is CWE-325?

The product does not implement a required step in a cryptographic algorithm, resulting in weaker encryption than advertised by the algorithm.

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

65 recorded CVEs are attributed to CWE-325, including CVE-2025-3938, CVE-2022-24116 and CVE-2026-4601.

### Is CWE-325 part of the OWASP Top 10?

CWE-325 maps to OWASP Top Ten 2007: Insecure Cryptographic Storage (A8) in the OWASP security taxonomy.

### How is CWE-325 detected?

Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

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

Exploiting CWE-325 can lead to: Bypass Protection Mechanism, Read Application Data, Modify Application Data, Hide Activities.

### Is CWE-325 actively exploited?

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

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

---

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