Common Weakness Enumeration

    CWE Definition / CWE-368

    CWE-368: Context Switching Race Condition

    A product performs a series of non-atomic actions to switch between contexts that cross privilege or other security boundaries, but a race condition allows an attacker to modify or misrepresent the product's behavior during the switch.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

    CWE-364: Signal Handler Race Condition