CWE-368: Context Switching Race Condition, published in 2026
Filter
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.
What the weakness is: CWE-368 at MITRE. 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-368, as MITRE names them. Credits.
Ask an AI about CWE-368
Show the prompt
Explain CWE-368: Context Switching Race Condition and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/368.html and https://cve.bz/cve/cwe/368?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-2026-3006winfspEPSS 0.1%
Successful exploitation of the race condition vulnerability could allow an attacker to trigger a kernel heap overflow, potentially leading to local privilege escalation and granting system-level access to the affected software.