CWE-368: Context Switching Race Condition, published in 2024
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-2024-34731google androidEPSS 0.2%
In multiple functions of TranscodingResourcePolicy.cpp, there is a possible memory corruption due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not…