---
title: "CWE-354: Improper Validation of Integrity Check Value"
url: https://radicalnotion.ai/cwe/cwe-354
type: cwe
description: "The product does not validate or incorrectly validates the integrity check values or \"checksums\" of a message."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-354: Improper Validation of Integrity Check Value

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Draft
- **Likelihood of exploit:** Medium
- **CVEs with this as primary weakness:** 208
- **Of those, in CISA KEV:** 0
- **New in 2026:** 77
- **CWE catalog version:** 4.21

## Description

The product does not validate or incorrectly validates the integrity check values or "checksums" of a message.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | REALIZATION: This weakness is caused during implementation of an architectural security tactic. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity, Other | Modify Application Data, Other | Integrity checks usually use a secret key that helps authenticate the data origin. Skipping integrity checking generally opens up the possibility that new data from an invalid source can be injected. |
| Integrity, Other | Other | Data that is parsed and used may be corrupted. |
| Non-Repudiation, Other | Hide Activities, Other | Without a checksum check, it is impossible to determine if any changes have been made to the data after it was sent. |

## Potential mitigations

### Implementation

The protocol specification describes the algorithm used for calculating the checksum. It is then a matter of implementing the calculation and verifying that the calculated checksum and the received checksum match.

## 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 following example demonstrates the weakness.

Bad code:

```c
sd = socket(AF_INET, SOCK_DGRAM, 0); serv.sin_family = AF_INET;
serv.sin_addr.s_addr = htonl(INADDR_ANY);
servr.sin_port = htons(1008);
bind(sd, (struct sockaddr *) & serv, sizeof(serv));
while (1) {

    memset(msg, 0x0, MAX_MSG);
    clilen = sizeof(cli);
    if (inet_ntoa(cli.sin_addr)==...) n = recvfrom(sd, msg, MAX_MSG, 0, (struct sockaddr *) & cli, &clilen);
}
```

Bad code:

```java
while(true) {
    DatagramPacket packet = new DatagramPacket(data,data.length,IPAddress, port);
    socket.send(sendPacket);
}
```

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2024-47573 | network analysis tool does not properly validate an integrity check value, allowing installation of malicious firmware |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-72398 | sctp: add INIT verification after cookie unpacking | critical | 9.8 | - | No | 2026-08-15 |
| CVE-2025-68315 | f2fs: fix to detect potential corrupted nid in free\_nid\_list | critical | 9.8 | - | No | 2025-12-16 |
| CVE-2024-25678 | - | critical | 9.8 | - | No | 2024-02-09 |
| CVE-2023-33668 | - | critical | 9.8 | - | No | 2023-07-12 |
| CVE-2023-28386 | Improper Validation of Integrity Check Value in Snap One OvrC Cloud | critical | 9.8 | - | No | 2023-05-22 |
| CVE-2017-15994 | rsync: Mishandles archaic checksums | critical | 9.8 | - | No | 2017-10-29 |
| CVE-2026-13385 | - | critical | 9.5 | - | No | 2026-07-15 |
| CVE-2025-11543 | - | critical | 9.5 | - | No | 2025-12-22 |
| CVE-2026-107846 | bitcoinjs-lib: Undetected merkle node duplication in block root computation validates a forged transaction list | critical | 9.3 | - | No | 2026-11-04 |
| CVE-2026-32105 | xrdp: RDP MAC signature (dataSignature) never verified on receive — integrity bypass in non-TLS mode | critical | 9.3 | - | No | 2026-04-17 |
| CVE-2025-7096 | Comodo Internet Security Premium Manifest File cis\_update\_x64.xml integrity check | critical | 9.2 | - | No | 2025-07-06 |
| CVE-2026-75803 | AEAD Forgeries with Empty Ciphertext When Using EVP\_Cipher() | critical | 9.1 | - | No | 2026-08-25 |

## Related attack patterns (CAPEC)

- [CAPEC-145](https://radicalnotion.ai/capec/capec-145): Checksum Spoofing
- [CAPEC-463](https://radicalnotion.ai/capec/capec-463): Padding Oracle Crypto Attack
- [CAPEC-75](https://radicalnotion.ai/capec/capec-75): Manipulating Writeable Configuration Files

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-345](https://radicalnotion.ai/cwe/cwe-345) | Insufficient Verification of Data Authenticity |
| Parent | [CWE-754](https://radicalnotion.ai/cwe/cwe-754) | Improper Check for Unusual or Exceptional Conditions |
| Peer | [CWE-353](https://radicalnotion.ai/cwe/cwe-353) | Missing Support for Integrity Check |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| ISA/IEC 62443 | Req SR 3.1 | Part 3-3 | - |
| CLASP | Failure to check integrity check value | - | - |
| PLC Top 20 | Use cryptographic and / or checksum integrity checks for PLC code | 5 | - |

## Frequently asked questions

### What is CWE-354?

The product does not validate or incorrectly validates the integrity check values or "checksums" of a message.

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

208 recorded CVEs are attributed to CWE-354, including CVE-2026-72398, CVE-2025-68315 and CVE-2024-25678.

### How do you prevent CWE-354?

The protocol specification describes the algorithm used for calculating the checksum. It is then a matter of implementing the calculation and verifying that the calculated checksum and the received checksum match.

### How is CWE-354 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-354?

Exploiting CWE-354 can lead to: Modify Application Data, Other, Hide Activities.

### Is CWE-354 actively exploited?

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

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

---

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