CWE-662: Improper Synchronization, published in 2025
Filter
The product utilizes multiple threads, processes, components, or systems to allow temporary access to a shared resource that can only be exclusive to one process at a time, but it does not properly synchronize these actions, which might cause simultaneous accesses of this resource by multiple threads or processes.
What the weakness is: CWE-662 at MITRE. All weaknesses
Related attack patterns (CAPEC): 4
- CAPEC-25 Forced Deadlock Likelihood: Low · Severity: High
- CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
- CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · 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-662, as MITRE names them. Credits.
Ask an AI about CWE-662
Show the prompt
Explain CWE-662: Improper Synchronization and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/662.html and https://cve.bz/cve/cwe/662?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
- 1.8CVE-2025-22853EPSS 0.2%
Improper synchronization in the firmware for some Intel(R) TDX may allow a privileged user to potentially enable escalation of privilege via local access.
- 3.7CVE-2024-58131fisco-bcosEPSS 0.4%
FISCO BCOS 3.11.0 has an issue with synchronization of the transaction pool that can, for example, be observed when a malicious node (that has modified the codebase to allow a large min_seal_time value) joins a blockchain network.
- 2.3CVE-2025-27104vyperlang vyperEPSS 0.8%
vyper is a Pythonic Smart Contract Language for the EVM. Multiple evaluation of a single expression is possible in the iterator target of a for loop. While the iterator expression cannot produce multiple writes, it can consume side effects…