---
title: "CWE-821: Incorrect Synchronization"
url: https://radicalnotion.ai/cwe/cwe-821
type: cwe
description: "The product utilizes a shared resource in a concurrent manner, but it does not correctly synchronize access to the resource."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-821: Incorrect Synchronization

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

## Description

The product utilizes a shared resource in a concurrent manner, but it does not correctly synchronize access to the resource.

## Modes of introduction

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

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity, Confidentiality, Other | Modify Application Data, Read Application Data, Alter Execution Logic, Unexpected State | If access to a shared resource is not correctly synchronized, then the resource may not be in a state that is expected by the product. This might lead to unexpected or insecure behaviors, especially if an attacker can influence the shared resource. |

## 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.)

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-98301 | net: bridge: mst: move switchdev call outside rcu | critical | 9.8 | - | No | 2026-10-06 |
| CVE-2026-64150 | netfilter: nft\_inner: release local\_lock before re-enabling softirqs | critical | 9.8 | - | No | 2026-07-19 |
| CVE-2026-53363 | xfrm: iptfs: preserve shared-frag marker in iptfs\_consume\_frags() | critical | 9.8 | - | No | 2026-07-10 |
| CVE-2026-43198 | tcp: fix potential race in tcp\_v6\_syn\_recv\_sock() | critical | 9.8 | - | No | 2026-05-06 |
| CVE-2024-1739 | Case Insensitive Email Address Validation Vulnerability in lunary-ai/lunary | critical | 9.1 | - | No | 2024-04-16 |
| CVE-2026-90381 | wifi: mt76: fix handling channel context with different bands in mt76\_switch\_vif\_chanctx() | high | 8.8 | - | No | 2026-09-17 |
| CVE-2026-90286 | drm/amdgpu/gfx6: Use PFP on the compute queues too | high | 8.8 | - | No | 2026-09-17 |
| CVE-2026-89601 | ext2: Fix lost inode updates for IS\_SYNC inodes | high | 8.8 | - | No | 2026-09-11 |
| CVE-2026-31563 | net: macb: Use dev\_consume\_skb\_any() to free TX SKBs | high | 8.7 | - | No | 2026-04-24 |
| CVE-2026-31463 | iomap: fix invalid folio access when i\_blkbits differs from I/O granularity | high | 8.5 | - | No | 2026-04-22 |
| CVE-2026-77584 | tor: Tor: Use-after-free vulnerability via CONFLUX\_LINK cell handling | high | 8.2 | - | No | 2026-08-20 |
| CVE-2026-31574 | clockevents: Add missing resets of the next\_event\_forced flag | high | 8.2 | - | No | 2026-04-24 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-662](https://radicalnotion.ai/cwe/cwe-662) | Improper Synchronization |
| Child | [CWE-572](https://radicalnotion.ai/cwe/cwe-572) | Call to Thread run() instead of start() |
| Child | [CWE-574](https://radicalnotion.ai/cwe/cwe-574) | EJB Bad Practices: Use of Synchronization Primitives |
| Child | [CWE-1088](https://radicalnotion.ai/cwe/cwe-1088) | Synchronous Access of Remote Resource without Timeout |
| Child | [CWE-1264](https://radicalnotion.ai/cwe/cwe-1264) | Hardware Logic with Insecure De-Synchronization between Control and Data Channels |

## Frequently asked questions

### What is CWE-821?

The product utilizes a shared resource in a concurrent manner, but it does not correctly synchronize access to the resource.

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

147 recorded CVEs are attributed to CWE-821, including CVE-2026-98301, CVE-2026-64150 and CVE-2026-53363.

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

Exploiting CWE-821 can lead to: Modify Application Data, Read Application Data, Alter Execution Logic, Unexpected State.

### Is CWE-821 actively exploited?

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

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

---

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