Common Weakness Enumeration

    CWE Definition / CWE-367

    CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

    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.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

    CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')