CWEweakness

CWE-1250 Improper Preservation of Consistency Between Independent Representations of Shared State

Official page ↗
Abstraction
Class
Structure
Simple
Status
Incomplete
Languages
Not Language-Specific
CWE version
5.0

Description

The product has or supports multiple distributed components or sub-systems that are each required to keep their own local copy of shared data - such as state or cache - but the product does not ensure that all local copies remain consistent with each other.

Extended description

In highly distributed environments, or on systems with distinct physical components that operate independently, there is often a need for each component to store and update its own local copy of key data such as state or cache, so that all components have the same "view" of the overall system and operate in a coordinated fashion. For example, users of a social media service or a massively multiplayer online game might be using their own personal computers while also interacting with different physical hosts in a globally distributed service, but all participants must be able to have the same "view" of the world. Alternately, a processor's Memory Management Unit (MMU) might have "shadow" MMUs to distribute its workload, and all shadow MMUs are expected to have the same accessible ranges of memory. In such environments, it becomes critical for the product to ensure that this "shared state" is consistently modified across all distributed systems. If state is not consistently maintained across all systems, then critical transactions might take place out of order, or some users might not get the same data as other users. When this inconsistency affects correctness of operations, it can introduce vulnerabilities in mechanisms that depend on consistent state.

Common consequences

• Other: Unexpected State — One or more of the components/sub-systems could assume that the state is different than it actually is.

Related

Child of · CWE (1)

  • CWE-664 Improper Control of a Resource Through its Lifetime weakness

Referenced by CVE · weakness (6)

  • CVE-2026-14666 Incomplete tracking in PostgreSQL of changes to role membership, role attributes, and database ownership allows a query to continue using… vulnerability
  • CVE-2025-32899 In KDE Connect before 1.33.0 on Android, a packet can be crafted that causes two paired devices to unpair. vulnerability
  • CVE-2025-30189 When cache is enabled, some passdb/userdb drivers incorrectly cache all users with same cache key, causing wrong cached information to be… vulnerability
  • CVE-2024-10976 Incomplete tracking in PostgreSQL of tables with row security allows a reused query to view or change different rows from those intended. vulnerability
  • CVE-2023-22405 An Improper Preservation of Consistency Between Independent Representations of Shared State vulnerability in the Packet Forwarding Engine… vulnerability
  • CVE-2022-22234 An Improper Preservation of Consistency Between Independent Representations of Shared State vulnerability in the Packet Forwarding Engine… vulnerability

Referenced by CWE · child of (2)

  • CWE-1249 Application-Level Admin Tool with Inconsistent View of Underlying Operating System weakness
  • CWE-1251 Mirrored Regions with Different Values weakness