CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition), published in 2022, page 5
Filter
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.
What the weakness is: CWE-362 at MITRE. OWASP Top 10: A06:2025 Insecure Design. All weaknesses
Related attack patterns (CAPEC): 2
- CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
- CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-362, as MITRE names them. Credits.
Ask an AI about CWE-362
Show the prompt
Explain CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/362.html and https://cve.bz/cve/cwe/362?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.0CVE-2022-23042EPSS 0.3%
Linux PV device frontends vulnerable to attacks by backends T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Several Linux PV device frontends are using the gr…
- 7.0CVE-2022-23041EPSS 0.4%
Linux PV device frontends vulnerable to attacks by backends T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Several Linux PV device frontends are using the gr…
- 7.0CVE-2022-23040EPSS 0.4%
Linux PV device frontends vulnerable to attacks by backends T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Several Linux PV device frontends are using the gr…
- 7.0CVE-2022-23039EPSS 0.4%
Linux PV device frontends vulnerable to attacks by backends T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Several Linux PV device frontends are using the gr…
- 7.0CVE-2022-23038EPSS 0.4%
Linux PV device frontends vulnerable to attacks by backends T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Several Linux PV device frontends are using the gr…
- 7.0CVE-2022-23037EPSS 0.3%
Linux PV device frontends vulnerable to attacks by backends T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Several Linux PV device frontends are using the gr…
- 7.0CVE-2022-23036EPSS 0.4%
Linux PV device frontends vulnerable to attacks by backends T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Several Linux PV device frontends are using the gr…
- 6.2CVE-2022-25822google androidEPSS 0.09%
An use after free vulnerability in sdp driver prior to SMR Mar-2022 Release 1 allows kernel crash.
- 8.1CVE-2022-25090kofax printixExploitEPSS 11%
Printix Secure Cloud Print Management through 1.3.1106.0 creates a temporary temp.ini file in a directory with insecure permissions, leading to privilege escalation because of a race condition.
- 7.0CVE-2022-24525microsoftEPSS 0.4%
Windows Update Stack Elevation of Privilege Vulnerability
- 7.0CVE-2022-24505microsoftEPSS 0.4%
Windows ALPC Elevation of Privilege Vulnerability
- 7.0CVE-2022-23283microsoftEPSS 0.4%
Windows ALPC Elevation of Privilege Vulnerability
- 4.7CVE-2022-21975microsoftEPSS 0.5%
Windows Hyper-V Denial of Service Vulnerability
- 7.0CVE-2021-3640EPSS 0.4%
A flaw use-after-free in function sco_sock_sendmsg() of the Linux kernel HCI subsystem was found in the way user calls ioct UFFDIO_REGISTER or other way triggers race condition of the call sco_conn_del() together with the call sco_sock_sen…
- 7.0CVE-2021-3609EPSS 0.4%
.A flaw was found in the CAN BCM networking protocol in the Linux kernel, where a local attacker can abuse a flaw in the CAN subsystem to corrupt memory, crash the system or escalate privileges. This race condition in net/can/bcm.c in the …
- 7.8CVE-2022-24986kde kcronEPSS 0.3%
KDE KCron through 21.12.2 uses a temporary file in /tmp when saving, but reuses the filename during an editing session. Thus, someone watching it be created the first time could potentially intercept the file the following time, enabling t…
- 3.1CVE-2022-0279bologer anycommentEPSS 0.5%
The AnyComment WordPress plugin before 0.2.18 is affected by a race condition when liking/disliking a comment/reply, which could allow any authenticated user to quickly raise their rating or lower the rating of other users
- 4.7CVE-2021-20321EPSS 0.2%
A race condition accessing file object in the Linux kernel OverlayFS subsystem was found in the way users do rename in specific way with OverlayFS. A local user could use this flaw to crash the system.
- 7.2CVE-2020-25719EPSS 1.7%
A flaw was found in the way Samba, as an Active Directory Domain Controller, implemented Kerberos name-based authentication. The Samba AD DC, could become confused about the user a ticket represents if it did not strictly require a Kerbero…
- 7.8CVE-2021-44731EPSS 1.0%
A race condition existed in the snapd 2.54.2 snap-confine binary when preparing a private mount namespace for a snap. This could allow a local attacker to gain root privileges by bind-mounting their own contents inside the snap's private m…
- 4.7CVE-2021-3753EPSS 0.4%
A race problem was seen in the vt_k_ioctl in drivers/tty/vt/vt_ioctl.c in the Linux kernel, which may cause an out of bounds read in vt as the write access to vc_mode is not protected by lock-in vt_ioctl (KDSETMDE). The highest threat from…
- 7.1CVE-2021-3752EPSS 1.7%
A use-after-free flaw was found in the Linux kernel’s Bluetooth subsystem in the way user calls connect to the socket and disconnect simultaneously due to a race condition. This flaw allows a user to crash the system or escalate their priv…
- 8.1CVE-2022-23639crossbeam project crossbeamEPSS 1.2%
crossbeam-utils provides atomics, synchronization primitives, scoped threads, and other utilities for concurrent programming in Rust. crossbeam-utils prior to version 0.8.7 incorrectly assumed that the alignment of `{i,u}64` was always the…
- 5.9CVE-2022-24686hashicorp nomadEPSS 0.9%
HashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. Fixed in 1.0.1…
- 4.1CVE-2022-20032google androidEPSS 0.1%
In vow driver, there is a possible memory corruption due to a race condition. This could lead to local information disclosure with System execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALPS05852822;…
- 4.7CVE-2021-40015huaweiEPSS 0.1%
There is a race condition vulnerability in the binder driver subsystem in the kernel.Successful exploitation of this vulnerability may affect kernel stability.
- 7.0CVE-2022-24114acronisEPSS 0.2%
Local privilege escalation due to race condition on application startup. The following products are affected: Acronis Cyber Protect Home Office (macOS) before build 39605, Acronis True Image 2021 (macOS) before build 39287
- 4.7CVE-2021-34406nvidia shield experienceEPSS 0.2%
NVIDIA Tegra kernel driver contains a vulnerability in NVHost, where a specific race condition can lead to a null pointer dereference, which may lead to a system reboot.
- 7.0CVE-2021-4083EPSS 0.3%
A read-after-free memory flaw was found in the Linux kernel's garbage collection for Unix domain socket file handlers in the way users call close() and fget() simultaneously and can potentially trigger a race condition. This flaw allows a …
- 7.0CVE-2021-39679google androidEPSS 0.09%
In init of vendor_graphicbuffer_meta.cpp, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for explo…
- 7.0CVE-2021-39629google androidEPSS 0.10%
In phTmlNfc_Init and phTmlNfc_CleanUp of phTmlNfc.cc, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not need…
- 6.4CVE-2021-30313qualcommEPSS 0.1%
Use after free condition can occur in wired connectivity due to a race condition while creating and deleting folders in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapd…
- 7.0CVE-2022-21896microsoftEPSS 0.6%
Windows DWM Core Library Elevation of Privilege Vulnerability
- 7.0CVE-2022-21881microsoftEPSS 25%
Windows Kernel Elevation of Privilege Vulnerability
- 2.5CVE-2021-43566sambaEPSS 0.4%
All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow a directory to be created in an area of the server file system not exported under the share definition. Note that SMB1 has to be…
- 8.1CVE-2021-37134huawei harmonyosEPSS 0.5%
Location-related APIs exists a Race Condition vulnerability.Successful exploitation of this vulnerability may use Higher Permissions for invoking the interface of location-related components.