---
title: "CWE-1288: Improper Validation of Consistency within Input"
url: https://radicalnotion.ai/cwe/cwe-1288
type: cwe
description: "The product receives a complex input with multiple elements or fields that must be consistent with each other, but it does not validate or incorrectly validates that the input is actually consistent."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1288: Improper Validation of Consistency within Input

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

## Description

The product receives a complex input with multiple elements or fields that must be consistent with each other, but it does not validate or incorrectly validates that the input is actually consistent.

## Background

Some input data can be structured with multiple elements or fields that must be consistent with each other, e.g. a number-of-items field that is followed by the expected number of elements.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Other | Varies by Context | When complex inputs are inconsistent, attackers could trigger unexpected errors, cause incorrect actions to take place, or exploit latent vulnerabilities. |

## Potential mitigations

### Implementation (Input Validation)

Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.

When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."

Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

Effectiveness: High

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2018-16733 | product does not validate that the start block appears before the end block |
| CVE-2006-3790 | size field that is inconsistent with packet size leads to buffer over-read |
| CVE-2008-4114 | system crash with offset value that is inconsistent with packet size |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-80587 | mptcp: avoid combining some incoming suboptions | critical | 9.8 | - | No | 2026-08-26 |
| CVE-2026-72206 | ntfs: validate index block header more strictly | critical | 9.8 | - | No | 2026-08-15 |
| CVE-2026-72199 | ntfs: validate resident index root values on lookup | critical | 9.8 | - | No | 2026-08-15 |
| CVE-2025-40099 | cifs: parse\_dfs\_referrals: prevent oob on malformed input | critical | 9.4 | - | No | 2025-10-30 |
| CVE-2026-98794 | ipvs: filter some flags received in the backup server | critical | 9.1 | - | No | 2026-10-18 |
| CVE-2026-18794 | OpenRGB: insufficient input data checks lead to Denial-of-Service, memory overread and overwrite | high | 8.8 | - | No | 2026-08-26 |
| CVE-2024-34619 | - | high | 8.8 | - | No | 2024-08-07 |
| CVE-2024-34593 | - | high | 8.8 | - | No | 2024-07-02 |
| CVE-2026-101951 | Junos OS and Junos OS Evolved: A BGP peer causes an rpd crash if a malformed MCAST-TREE NLRI is received and readvertised | high | 8.7 | - | No | 2026-10-14 |
| CVE-2026-56744 | \`@bsv/wallet-toolbox\` / \`-client\` / \`-mobile\` don't verify storage-supplied recipient output scripts against caller-requested outputs in createAction (can redirect payments when using remote storage) | high | 8.7 | - | No | 2026-09-24 |
| CVE-2024-39515 | Junos OS and Junos OS Evolved: With BGP traceoptions enabled, receipt of specifically malformed BGP update causes RPD crash | high | 8.7 | - | No | 2024-10-09 |
| CVE-2025-38343 | wifi: mt76: mt7996: drop fragments with multicast or broadcast RA | high | 8.3 | - | No | 2025-07-10 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-20](https://radicalnotion.ai/cwe/cwe-20) | Improper Input Validation |

## Frequently asked questions

### What is CWE-1288?

The product receives a complex input with multiple elements or fields that must be consistent with each other, but it does not validate or incorrectly validates that the input is actually consistent.

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

69 recorded CVEs are attributed to CWE-1288, including CVE-2026-80587, CVE-2026-72206 and CVE-2026-72199.

### How do you prevent CWE-1288?

Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.

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

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

### Is CWE-1288 actively exploited?

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

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

---

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