---
title: "CWE-372: Incomplete Internal State Distinction"
url: https://radicalnotion.ai/cwe/cwe-372
type: cwe
description: "The product does not properly determine which state it is in, causing it to assume it is in state X when in fact it is in state Y, causing it to perform incorrect operations in a security-relevant manner."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-372: Incomplete Internal State Distinction

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

## Description

The product does not properly determine which state it is in, causing it to assume it is in state X when in fact it is in state Y, causing it to perform incorrect operations in a security-relevant manner.

## Modes of introduction

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

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity, Other | Varies by Context, Unexpected State | - |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-22590 | - | critical | 9.1 | - | No | 2024-05-28 |
| CVE-2023-31127 | DMTF-2023-0001: SPDM mutual authentication bypass | critical | 9.1 | - | No | 2023-05-08 |
| CVE-2026-43226 | net/rds: No shortcut out of RDS\_CONN\_ERROR | high | 7.5 | - | No | 2026-05-06 |
| CVE-2024-42110 | net: ntb\_netdev: Move ntb\_netdev\_rx\_handler() to call netif\_rx() from \_\_netif\_rx() | high | 7.5 | - | No | 2024-07-30 |
| CVE-2023-4012 | Incomplete Internal State Distinction in ntpsec | high | 7.5 | - | No | 2023-08-07 |
| CVE-2020-27222 | californium-core: DTLS - DoS vulnerability for certificate based handshakes | high | 7.5 | - | No | 2021-02-03 |
| CVE-2026-45912 | ext4: don't cache extent during splitting extent | high | 7.1 | - | No | 2026-05-27 |
| CVE-2026-43219 | net: cpsw\_new: Fix potential unregister of netdev that has not been registered yet | high | 7.1 | - | No | 2026-05-06 |
| CVE-2023-54406 | Frappe before 14.59.0 Safe Execution Flag Bypass in Server Scripts | medium | 6.9 | - | No | 2026-10-12 |
| CVE-2026-84897 | wolfSSH server accepts server-to-client DH group exchange messages from an unauthenticated client, causing pre-authentication primality-test CPU exhaustion and key exchange role confusion | medium | 6.9 | - | No | 2026-10-07 |
| CVE-2026-41300 | OpenClaw \< 2026.3.31 - Preservation of Attacker-Discovered Endpoints in Remote Onboarding | medium | 6.9 | - | No | 2026-04-20 |
| CVE-2026-57893 | - | medium | 6.8 | - | No | 2026-11-10 |

## Related attack patterns (CAPEC)

- [CAPEC-140](https://radicalnotion.ai/capec/capec-140): Bypassing of Intermediate Forms in Multiple-Form Sets
- [CAPEC-74](https://radicalnotion.ai/capec/capec-74): Manipulating State

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-664](https://radicalnotion.ai/cwe/cwe-664) | Improper Control of a Resource Through its Lifetime |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Incomplete Internal State Distinction | - | - |

## Frequently asked questions

### What is CWE-372?

The product does not properly determine which state it is in, causing it to assume it is in state X when in fact it is in state Y, causing it to perform incorrect operations in a security-relevant manner.

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

31 recorded CVEs are attributed to CWE-372, including CVE-2024-22590, CVE-2023-31127 and CVE-2026-43226.

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

Exploiting CWE-372 can lead to: Varies by Context, Unexpected State.

### Is CWE-372 actively exploited?

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

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

---

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