Skip to main content

About CWE-362

MITRE lists these common consequences: DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other), DoS: Crash, Exit, or Restart, DoS: Instability, Read Files or Directories, Read Application Data, Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity, Bypass Protection Mechanism, affecting availability, confidentiality, integrity, access control.

MITRE name
Concurrent Execution using Shared Resource with Improper Synchronization
Abstraction
Class: a very abstract weakness, typically independent of language or technology
Status
Draft

Also Known As

  • Race Condition

Mitigations

  • In languages that support it, use synchronization primitives. Only wrap these around critical code to minimize the impact on performance.
  • Use thread-safe capabilities such as the data access abstraction in Spring.
  • Minimize the usage of shared resources in order to remove as much complexity as possible from the control flow and to reduce the likelihood of unexpected conditions occurring.
  • When using multithreading and operating on shared variables, only use thread-safe functions.

Detection
MITRE lists these detection methods: Automated Static Analysis - Binary or Bytecode (high), Dynamic Analysis with Manual Results Interpretation (high), Manual Static Analysis - Source Code (high), Automated Static Analysis - Source Code (high), Architecture or Design Review (high).

CWE-362 in the KEV Catalog

as of 2026-11-16
All KEV statistics→
  • 9 CISA KEV entries name Race Condition (CWE-362) in their CVE record, tied for 33rd among the 195 weaknesses named in the catalog.
  • Linux Kernel and Microsoft have the most CWE-362 entries in the CISA KEV catalog (3 each).

Related Attack Patterns

2 CAPEC patterns
CAPEC-26Leveraging Race ConditionsMeta · Severity High · Likelihood High
CAPEC-29Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race ConditionsStandard · Severity High · Likelihood High

CWE-362 Vulnerabilities

9 CVEs
CVECVSS
CVE-2025-39964KEV
crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg
7.8
CVE-2025-62215KEV
Windows Kernel Elevation of Privilege Vulnerability
7.0
CVE-2023-36884KEV
Windows Search Remote Code Execution Vulnerability
7.5
CVE-2021-25395KEV
Samsung Mobile Devices Race Condition Vulnerability
6.4
CVE-2014-0196KEV
Linux Kernel Race Condition Vulnerability
5.5
CVE-2022-26904KEV
Windows User Profile Service Elevation of Privilege Vulnerability
7.0
CVE-2016-5195KEV
Linux Kernel Race Condition Vulnerability
7.0
CVE-2021-21166KEV
Google Chromium Race Condition Vulnerability
8.8
CVE-2020-6820KEV
Mozilla Firefox And Thunderbird Use-After-Free Vulnerability
8.1

Frequently Asked Questions

What is CWE-362?→

CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization) is a MITRE CWE entry. The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

How many exploited vulnerabilities are classified as CWE-362?→

This database lists 9 CVE records mapped to CWE-362 by their CVE Numbering Authority. 9 of them are in the CISA Known Exploited Vulnerabilities catalog, and CISA links 1 to known ransomware campaigns. Examples include CVE-2025-39964, CVE-2025-62215, CVE-2023-36884.

Weakness description, consequences, and mitigations from the CWE List, © The MITRE Corporation, used under the CWE Terms of Use. CWE mappings come from each CVE record's CNA. Exploited-in-the-wild data from the CISA KEV catalog (CC0). This site is not affiliated with or endorsed by MITRE or CISA. Attack patterns from CAPEC 3.9, © The MITRE Corporation, used under the CAPEC Terms of Use.