Skip to content
OpenAdvisories

Weakness (CWE)

CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization

Class Draft

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 to prevent it (8 mitigations)
  1. Architecture and Design

    In languages that support it, use synchronization primitives. Only wrap these around critical code to minimize the impact on performance.

  2. Architecture and Design

    Use thread-safe capabilities such as the data access abstraction in Spring.

  3. Architecture and Design

    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.

    Additionally, this will minimize the amount of synchronization necessary and may even help to reduce the likelihood of a denial of service where an attacker may be able to repeatedly trigger a critical section (CWE-400).

  4. Implementation

    When using multithreading and operating on shared variables, only use thread-safe functions.

  5. Implementation

    Use atomic operations on shared variables. Be wary of innocent-looking constructs such as "x++". This may appear atomic at the code layer, but it is actually non-atomic at the instruction layer, since it involves a read, followed by a computation, followed by a write.

  6. Implementation

    Use a mutex if available, but be sure to avoid related weaknesses such as CWE-412.

  7. Implementation

    Avoid double-checked locking (CWE-609) and other implementation errors that arise when trying to avoid the overhead of synchronization.

  8. Implementation

    Disable interrupts or signals over critical parts of the code, but also make sure that the code does not go into a large or infinite loop.

Source: MITRE CWE-362

867 results · Clear filters · Feed

  • High 8.8

    grant-table: double version change race

    XSA-501 was about issues with v1 -> v2 and v2 -> v1 changes racing certain other grant table operations. Sadly a v2 -> v1 -> v2 change has yet another effect which wasn't accounted for: During the first change, status pages would be freed. During the second c…

  • High 8.3

    Sandbox escape due to race condition in the Networking component

    Sandbox escape due to race condition in the Networking component. This vulnerability was fixed in Firefox 158, Firefox ESR 153.5, Thunderbird 158, and Thunderbird 153.5.

  • High 7.5

    Apache CXF: XML Signature wrapping in JAX-RS XML Security

    Improper Verification of Cryptographic Signature vulnerability in Apache CXF's JAX-RS XML Security module. The JAX-RS XML Signature interceptors (XmlSigInHandler, XmlSigInInterceptor and the streaming XmlSecInInterceptor) did not ensure that the XML passed to…

  • High 7.5

    Apache CXF: STSTokenValidator can accept untrusted SAML assertions because it shares validation state between requests

    In Apache CXF, STSTokenValidator checks whether a SAML assertion is signed by a trusted certificate before deciding to send it to the STS. That result was stored in one object shared by all requests, so one request could read another's result. A remote, unaut…

  • High 8.1

    A race condition vulnerability in the SessionManager of CNCF: Cloud Native Computing Foundation Argo CD v3.0.6 allows a…

  • High 7.5

    HTTP/2 server crash due to HPACK encoder race in net/http

    HTTP/2 servers could end up crashing due to inadvertently modifying its HPACK encoder concurrently. This happens because the server modifies the HPACK encoder from two goroutines without synchronization: one uses the encoder to encode a HEADERS frame as part …

  • High 7.5

    IBM Guardium Data Protection is affected by multiple vulnerabilities

    IBM Guardium Data Protection 12.2.2 could allow a remote attacker to cause a denial of service due to a race condition resulting from concurrent unsynchronized writes to a shared map.

  • High 7.8

    IBM Guardium Data Protection Signature Verification Bypass

    IBM Guardium Data Protection 12.2 is vulnerable to a signature verification bypass in the patch installer. An attacker with local access could exploit this vulnerability to execute arbitrary code with root privileges.

  • High 8.5

    Backstage: Improper task state validation in Scaffolder backend

    Backstage is an open framework for building developer portals. Prior to 3.3.1, 3.4.1, 4.0.3 and 4.1.0, the @backstage/plugin-scaffolder-backend package is affected by improper task state validation in scaffolder backend. An authenticated user with permission …

  • High 8.8

    Race condition in V8 in Google Chrome prior to 155.0.8059.39 allowed a remote attacker to execute arbitrary code inside…

  • High 8.3

    Race condition in Fonts in Google Chrome prior to 155.0.8059.39 allowed a remote attacker who had compromised the rende…

  • High 8.8

    Race condition in V8 in Google Chrome prior to 155.0.8059.39 allowed a remote attacker to potentially execute arbitrary…

  • High 8.3

    Race condition in Fonts in Google Chrome prior to 155.0.8059.39 allowed a remote attacker to potentially execute arbitr…

  • High 8.3

    Race condition in Fonts in Google Chrome prior to 155.0.8059.39 allowed a remote attacker who had compromised the rende…

  • High 7.0

    In ep_free of eventpoll.c, there is a possible use-after-free due to a race condition. This could lead to local escalat…

  • High 7.0

    Canimaan Software ClamXAV local privilege escalation

    Canimaan Software ClamXAV versions 3.3 - 3.11 contains a local privilege escalation vulnerability in the Privileged Helper Tool caused by a race condition and insufficient file validation, allowing a local attacker to execute arbitrary code with system privil…

  • High 8.8

    Apache Struts: Shared message formatter exposes date and time values across concurrent requests

    Concurrent execution using shared resource with improper synchronization ('race condition') vulnerability in Apache Struts. Where a localized message formats a date or time argument, the formatter retained for that message by the application-wide text provide…

  • High 7.0

    In handle_app_val_response of btif_rc.cc, there is a possible way to achieve code execution due to a race condition. Th…

  • High 8.1

    Plane: InstanceAdminSignUpEndpoint TOCTOU race allows two concurrent unauthenticated callers to both bootstrap as Plane instance admins

    Plane is an open-source project management tool. From 0.13 until 1.4.0, InstanceAdminSignUpEndpoint in apps/api/plane/license/api/views/admin.py:89-117, 173-229 uses InstanceAdmin.objects.first() for the first-admin check and performs account creation without…

  • High 7.5

    Podgrab Unauthenticated DoS via Concurrent Map Access in WebSocket Handler

    Podgrab contains an unauthenticated denial-of-service vulnerability caused by unsynchronized concurrent access to shared maps (activePlayers and allConnections) in its WebSocket handler, where Wshandler and HandleWebsocketMessages goroutines read and write th…

  • High 7.6

    MISP HOTP Token Replay via Stale Session-Cached Counter Allows Second-Factor Authentication Bypass

    MISP contains a vulnerability in its one-time password (OTP) authentication flow that allows replay of a consumed HOTP (paper) token and rewinding of the token counter. The HOTP verification logic compared the submitted token against a counter value that was …

  • High 8.1

    Improper Synchronization in Monitoring in CODESYS Control Runtime

    Affected products do not properly synchronize access to their monitoring functionality. When multiple clients send concurrent requests, this may lead to incorrect reads or writes, or to corruption of internal memory structures. An authenticated remote attacke…

  • High 7.5

    Race condition in V8 in Google Chrome prior to 154.0.8037.57 allowed a remote attacker to execute arbitrary code inside…

  • High 7.5

    Race condition, use-after-free in the Audio/Video component

    Race condition, use-after-free in the Audio/Video component. This vulnerability was fixed in Thunderbird 157 and Firefox 157.

  • High 8.1

    Apache Tomcat: Stale HPACK emitter injects trailers into recycled pooled Request

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulnerability in Apache Tomcat allows an attacker to inject trailer fields into another HTTP/2 request. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.2…

  • High 7.1

    Cloudreve: Storage-quota TOCTOU race allows quota bypass and storage-based denial of service

    Cloudreve is a self-hosted file management and sharing system. Prior to 4.18.0, PrepareUpload in pkg/filemanager/fs/dbfs/upload.go checks a stale in-memory user storage value through validateUserCapacity and later applies an unconditional storage charge outsi…

  • High 8.1
    CVE-2026-61628 Public exploit

    nginx ignition has Unauthenticated Admin Account Creation via Onboarding Race Condition

    nginx ignition is a user interface for the nginx web server. Prior to version 2.41.1, `POST /api/users/onboarding/finish` is registered as anonymous (unauthenticated) and creates a user with full ReadWrite admin permissions. Because the handler uses a check-t…

  • High 7.0

    In google_mba_recv_msg of google_mba_poll.c, there is a possible out-of-bounds write due to a race condition. This coul…

  • High 7.0

    In ARM64_TLBI of mmu.h, there is a possible memory corruption due to a race condition. This could lead to local escalat…

  • High 7.0

    In multiple locations, there is a possible use-after-free due to a race condition. This could lead to local escalation …

  • High 7.0

    In trusty_dputc of generic-arm64-smcall.c, there is a possible out-of-bounds write due to a race condition. This could …

  • High 8.8

    In multiple locations, there is a possible use-after-free due to a race condition. This could lead to remote code execu…

  • High 7.5

    FreeRDP Server before 3.31.0 Use-After-Free via DRDYNVC

    FreeRDP server versions before 3.31.0 contain a use-after-free vulnerability in the DRDYNVC parser that dereferences a channel pointer after releasing the synchronization lock. Authenticated clients can race AUDIN channel closure messages against DRDYNVC data…

  • High 7.5

    Race condition in the DOM: Content Processes component

    Race condition in the DOM: Content Processes component. This vulnerability was fixed in Firefox 156, Firefox ESR 153.3, Thunderbird 156, and Thunderbird 153.3.

  • High 7.8

    A race condition was addressed with improved state management. This issue is fixed in iOS 26.7 and iPadOS 26.7, iOS 27 …

  • High 7.8
    CVE-2026-43783 Public exploit

    A race condition was addressed with improved locking. This issue is fixed in macOS Tahoe 26.6. A malicious app may be a…

  • High 8.1

    A race condition was addressed with additional validation. This issue is fixed in iOS 27 and iPadOS 27, macOS Golden Ga…

  • High 7.8

    A race condition was addressed with improved state handling. This issue is fixed in iOS 26.7 and iPadOS 26.7, iOS 27 an…

  • High 7.8

    Microsoft Edge (Chromium-based) Elevation of Privilege Vulnerability

    Concurrent execution using shared resource with improper synchronization ('race condition') in Microsoft Edge (Chromium-based) allows an authorized attacker to elevate privileges locally.

  • High 7.5

    Hoverfly: Process Crash via Concurrent Map Write Race Condition in Diff Mode

    Hoverfly is an open source API simulation tool. Prior to version 1.12.8, when Hoverfly is running in Diff mode, the `AddDiff()` function writes to the shared `responsesDiff` map without any synchronization (no mutex). When multiple proxy requests are processe…