CWE-366: Race Condition within a Thread, published in 2023
Filter
If two threads of execution use a resource simultaneously, there exists the possibility that resources may be used while invalid, in turn making the state of execution undefined.
What the weakness is: CWE-366 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-366, as MITRE names them. Credits.
Ask an AI about CWE-366
Show the prompt
Explain CWE-366: Race Condition within a Thread and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/366.html and https://cve.bz/cve/cwe/366?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-2023-6546EPSS 0.7%
A race condition was found in the GSM 0710 tty multiplexor in the Linux kernel. This issue occurs when two threads execute the GSMIOC_SETCONF ioctl on the same tty file descriptor with the gsm line discipline enabled, and can lead to a use…
- 4.7CVE-2023-4732EPSS 0.2%
A flaw was found in pfn_swap_entry_to_page in memory management subsystem in the Linux Kernel. In this flaw, an attacker with a local user privilege may cause a denial of service problem due to a BUG statement referencing pmd_t x.
- 5.9CVE-2023-4127answerEPSS 0.5%
Race Condition within a Thread in GitHub repository answerdev/answer prior to v1.1.1.
- 4.4CVE-2023-3218it-novum openitcockpitEPSS 0.6%
Race Condition within a Thread in GitHub repository it-novum/openitcockpit prior to 4.6.5.
- 8.1CVE-2015-10067ssharpsmartthreadpool project ssharpsmartthreadpoolEPSS 0.6%
A vulnerability was found in oznetmaster SSharpSmartThreadPool. It has been classified as problematic. This affects an unknown part of the file SSharpSmartThreadPool/SmartThreadPool.cs. The manipulation leads to race condition within a thr…