cve.bz

CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition, published in 2024

Filter

The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.

What the weakness is: CWE-367 at MITRE. All weaknesses

Related attack patterns (CAPEC): 2
  • 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-367, as MITRE names them. Credits.

Ask an AI about CWE-367

Show the promptExplain CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/367.html and https://cve.bz/cve/cwe/367?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. 9.8CVE-2024-56337EPSS 19%

    Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97. The following versions were E…

  2. 9.8CVE-2024-50379EPSS 43%

    Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default configuration). This issue …

  3. 7.3CVE-2024-10972velocidex winpmemEPSS 0.2%

    Velocidex WinPmem versions 4.1 and below suffer from an Improper Input Validation vulnerability whereby an attacker with admin access can trigger a BSOD with a parallel thread changing the memory’s access right under the control of the use…

  4. 7.0CVE-2024-53289dell thinosEPSS 0.1%

    Dell ThinOS version 2408 contains a Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability. A low privileged attacker with local access could potentially exploit this vulnerability, leading to Elevation of Privileges.

  5. 7.0CVE-2024-27134lfprojects mlflowEPSS 0.1%

    Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf. This behavior can be exploited by a local attacker to gain elevated permissions by using a ToCToU attack. The issue is only relevant when t…

  6. 8.1CVE-2024-41779ibm engineering systems design rhapsodyEPSS 0.8%

    IBM Engineering Systems Design Rhapsody - Model Manager 7.0.2 and 7.0.3 could allow a remote attacker to bypass security restrictions, caused by a race condition. By sending a specially crafted request, an attacker could exploit this vulne…

  7. 8.5CVE-2024-22185EPSS 0.1%

    Time-of-check Time-of-use Race Condition in some Intel(R) processors with Intel(R) ACTM may allow a privileged user to potentially enable escalation of privilege via local access.

  8. 7.8CVE-2024-49046microsoftEPSS 0.4%

    Windows Win32 Kernel Subsystem Elevation of Privilege Vulnerability

  9. 7.5CVE-2024-43452microsoftEPSS 30%

    Windows Registry Elevation of Privilege Vulnerability

  10. 6.5CVE-2024-51563freebsdEPSS 0.3%

    The virtio_vq_recordon function is subject to a time-of-check to time-of-use (TOCTOU) race condition.

  11. 8.1CVE-2024-48322EPSS 0.9%

    UsersController.php in Run.codes 1.5.2 and older has a reset password race condition vulnerability.

  12. 7.0CVE-2024-50234linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: wifi: iwlegacy: Clear stale interrupts before resuming device iwl4965 fails upon resume from hibernation on my laptop. The reason seems to be a stale interrupt which isn…

  13. 4.7CVE-2024-50220linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: fork: do not invoke uffd on fork if error occurs Patch series "fork: do not expose incomplete mm on fork". During fork we may place the virtual memory address space int…

  14. 7.0CVE-2024-50592hasomed elefant software updaterEPSS 0.2%

    An attacker with local access the to medical office computer can escalate his Windows user privileges to "NT AUTHORITY\SYSTEM" by exploiting a race condition in the Elefant Update Service during the repair or update process. When using …

  15. 7.0CVE-2024-38407qualcommEPSS 0.07%

    Memory corruption while processing input parameters for any IOCTL call in the JPEG Encoder driver.

  16. 7.0CVE-2024-38406qualcommEPSS 0.07%

    Memory corruption while handling IOCTL calls in JPEG Encoder driver.

  17. 4.8CVE-2024-49768agendaless waitressEPSS 0.5%

    Waitress is a Web Server Gateway Interface server for Python 2 and 3. A remote client may send a request that is exactly recv_bytes (defaults to 8192) long, followed by a secondary request using HTTP pipelining. When request lookahead is d…

  18. 4.7CVE-2024-49998linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: net: dsa: improve shutdown sequence Alexander Sverdlin presents 2 problems during shutdown with the lan9303 driver. One is specific to lan9303 and the other just happens…

  19. 8.2CVE-2024-47494juniper junosEPSS 0.4%

    A Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in the AgentD process of Juniper Networks Junos OS allows an attacker who is already causing impact to established sessions which generates counter changes picked up by the …

  20. 3.1CVE-2024-45120adobeEPSS 0.4%

    Adobe Commerce versions 2.4.7-p2, 2.4.6-p7, 2.4.5-p9, 2.4.4-p10 and earlier are affected by a Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability that could lead to a security feature bypass. An attacker could exploit this vuln…

  21. 2.9CVE-2024-47813bytecodealliance wasmtimeEPSS 0.2%

    Wasmtime is an open source runtime for WebAssembly. Under certain concurrent event orderings, a `wasmtime::Engine`'s internal type registry was susceptible to double-unregistration bugs due to a race condition, leading to panics and potent…

  22. 7.0CVE-2024-43511microsoftEPSS 0.4%

    Windows Kernel Elevation of Privilege Vulnerability

  23. 7.5CVE-2024-5803avg/avast antivirusEPSS 0.1%

    The AVGUI.exe of AVG/Avast Antivirus before versions before 24.1 can allow a local attacker to escalate privileges via an COM hijack in a time-of-check to time-of-use (TOCTOU) when self protection is disabled.

  24. 3.4CVE-2024-0133nvidiaEPSS 0.2%

    NVIDIA Container Toolkit 1.16.1 or earlier contains a vulnerability in the default mode of operation allowing a specially crafted container image to create empty files on the host file system. This does not impact use cases where CDI is us…

  25. 8.3CVE-2024-0132nvidiaExploitEPSS 41%

    NVIDIA Container Toolkit 1.16.1 or earlier contains a Time-of-check Time-of-Use (TOCTOU) vulnerability when used with default configuration where a specifically crafted container image may gain access to the host file system. This does not…

  26. 6.0CVE-2024-6787moxa mxview oneEPSS 0.3%

    This vulnerability occurs when an attacker exploits a race condition between the time a file is checked and the time it is used (TOCTOU). By exploiting this race condition, an attacker can write arbitrary files to the system. This could al…

  27. 8.9CVE-2024-27114soplanningEPSS 0.5%

    A unauthenticated Remote Code Execution (RCE) vulnerability is found in the SO Planning online planning tool. If the public view setting is enabled, a attacker can upload a PHP-file that will be available for execution for a few millisecon…

  28. 7.0CVE-2024-43882linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: exec: Fix ToCToU between perm check and set-uid/gid usage When opening a file for exec via do_filp_open(), permission checking is done against the file's metadata at tha…

  29. 7.0CVE-2024-39425adobeEPSS 0.2%

    Acrobat Reader versions 20.005.30636, 24.002.20965, 24.002.20964, 24.001.30123 and earlier are affected by a Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability that could lead to privilege escalation. Exploitation of this issu…

  30. 7.0CVE-2024-39420adobeEPSS 3.5%

    Acrobat Reader versions 20.005.30636, 24.002.21005, 24.001.30159, 20.005.30655, 24.002.20965, 24.002.20964, 24.001.30123, 24.003.20054 and earlier are affected by a Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability that could…

  31. 7.8CVE-2024-38186microsoftEPSS 0.8%

    Windows Kernel-Mode Driver Elevation of Privilege Vulnerability

  32. 7.8CVE-2024-38153microsoftEPSS 0.5%

    Windows Kernel Elevation of Privilege Vulnerability

  33. 6.4CVE-2023-20578amdEPSS 0.1%

    A TOCTOU (Time-Of-Check-Time-Of-Use) in SMM may allow an attacker with ring0 privileges and access to the BIOS menu or UEFI shell to modify the communications buffer potentially resulting in arbitrary code execution.

  34. 7.5CVE-2024-7348postgresqlEPSS 1.6%

    Time-of-check Time-of-use (TOCTOU) race condition in pg_dump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pg_dump, which is often a superuser. The attack involves replacing another relation …

  35. 6.5CVE-2024-7531mozillaEPSS 0.4%

    Calling `PK11_Encrypt()` in NSS using CKM_CHACHA20 and the same buffer for input and output can result in plaintext on an Intel Sandy Bridge processor. In Firefox this only affects the QUIC header protection feature when the connection is …

  36. 4.7CVE-2024-42107linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: ice: Don't process extts if PTP is disabled The ice_ptp_extts_event() function can race with ice_ptp_release() and result in a NULL pointer dereference which leads to a …

  37. 3.7CVE-2024-30471apache streampipesEPSS 0.7%

    Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache StreamPipes in user self-registration. This allows an attacker to potentially request the creation of multiple accounts with the same email address until the email a…

  38. 6.8CVE-2024-39826zoomEPSS 0.4%

    Race condition in Team Chat for some Zoom Workplace Apps and SDKs for Windows may allow an authenticated user to conduct information disclosure via network access.

  39. 4.4CVE-2024-39821zoomEPSS 0.1%

    Race condition in the installer for Zoom Workplace App for Windows and Zoom Rooms App for Windows may allow an authenticated user to conduct a denial of service via local access.

  40. 6.3CVE-2024-27238zoomEPSS 0.1%

    Race condition in the installer for some Zoom Apps and SDKs for Windows before version 6.0.0 may allow an authenticated user to conduct a privilege escalation via local access.

  41. 4.1CVE-2024-27361samsungEPSS 0.1%

    A vulnerability was discovered in Samsung Mobile Processor Exynos 980, Exynos 990, Exynos 1080, Exynos 2100, Exynos 2200, Exynos 1280, Exynos 1380, and Exynos 2400 that involves a time-of-check to time-of-use (TOCTOU) race condition, which…

  42. 4.7CVE-2024-6601mozillaEPSS 0.4%

    A race condition could lead to a cross-origin container obtaining permissions of the top-level origin. This vulnerability affects Firefox < 128, Firefox ESR < 115.13, Thunderbird < 115.13, and Thunderbird < 128.

  43. 5.9CVE-2024-39936qtEPSS 0.5%

    An issue was discovered in HTTP2 in Qt before 5.15.18, 6.x before 6.2.13, 6.3.x through 6.5.x before 6.5.7, and 6.6.x through 6.7.x before 6.7.3. Code to make security-relevant decisions about an established connection may execute too earl…

  44. 7.5CVE-2024-39894EPSS 1.6%

    OpenSSH 9.5 through 9.7 before 9.8 sometimes allows timing attacks against echo-off password entry (e.g., for su and Sudo) because of an ObscureKeystrokeTiming logic error. Similarly, other timing attacks against keystroke entry could occu…

  45. 7.8CVE-2022-27540hpEPSS 0.1%

    A potential Time-of-Check to Time-of Use (TOCTOU) vulnerability has been identified in the HP BIOS for certain HP PC products, which might allow arbitrary code execution, denial of service, and information disclosure. HP is releasing BIOS …

  46. 5.3CVE-2024-0171dellEPSS 0.10%

    Dell PowerEdge Server BIOS contains an TOCTOU race condition vulnerability. A local low privileged attacker could potentially exploit this vulnerability to gain access to otherwise unauthorized resources.

  47. 6.4CVE-2024-5558schneider-electricEPSS 0.1%

    CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability exists that could cause escalation of privileges when an attacker abuses a limited admin account.

  48. 7.0CVE-2024-35265microsoftEPSS 0.4%

    Windows Perception Service Elevation of Privilege Vulnerability

  49. 7.0CVE-2024-30099microsoftEPSS 0.5%

    Windows Kernel Elevation of Privilege Vulnerability

  50. 7.0CVE-2024-30088microsoftKEVEPSS 68%

    Windows Kernel Elevation of Privilege Vulnerability