Weaknesses of type CWE-367

681 results

Condição de corrida entre verificação e uso (TOCTOU)

A aplicação verifica uma condição (ex: permissão, existência de arquivo) e depois usa o recurso baseado naquela verificação, mas entre os dois momentos outro processo pode mudar o estado do recurso. O atacante explora a janela de tempo para alterar o que foi verificado, contornando a validação.

Example

Um programa verifica se um arquivo existe e tem permissão de leitura, depois o abre para processar. Entre a verificação e a abertura, um atacante pode trocar o arquivo por um link simbólico apontando para um arquivo sensível do sistema. O programa abre o link sem perceber a mudança.

How to mitigate

Use operações atômicas que combinam verificação e uso em uma única chamada de sistema (ex: open() com flags exclusivas, fstat() após abrir arquivo). Em casos de acesso a dados compartilhados, implemente locks ou transações que impeçam alterações entre a validação e o uso do recurso.

CVE-2026-54587MEDIUMmport directory asset installation is vulnerable to symlink and path traversal racesEPSS 0.1%CVE-2024-53289HIGHDell ThinOS version 2408 contains a Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability. A low privileged attacker with local acEPSS 0.1%CVE-2026-67433MEDIUMLinuxfabrik monitoring-plugins: Symlink following in logfile legacy database migrationEPSS 0.1%CVE-2026-54576MEDIUMmport package installation has symlink TOCTOU in chown and chmod handlingEPSS 0.1%CVE-2023-20548HIGHA Time-of-check time-of-use (TOCTOU) race condition in the AMD Secure Processor (ASP) could allow an attacker to corrupt memory resulting inEPSS 0.1%CVE-2025-2425MEDIUMTOCTOU race condition vulnerability in ESET products on WindowsEPSS 0.1%CVE-2023-31324HIGHA Time-of-check time-of-use (TOCTOU) race condition in the AMD Secure Processor (ASP) could allow an attacker to modify External Global MemoEPSS 0.1%CVE-2026-16922HIGHVulnerabilities in IBM AIX and PowerVM VIOSEPSS 0.1%CVE-2026-43529LOWOpenClaw < 2026.4.10 - Time-of-Check-Time-of-Use (TOCTOU) Race Condition in exec Script Preflight ValidatorEPSS 0.1%CVE-2025-6217LOWPEAK-System Driver PCANFD_ADD_FILTERS Time-Of-Check Time-Of-Use Information Disclosure VulnerabilityEPSS 0.1%CVE-2026-41051MEDIUMcsync2 uses insecure temporary directories when compiled with C99 or laterEPSS 0.1%CVE-2026-4018MEDIUMTOCTOU race condition in the QNX Neutrino kernel impacts versions of the QNX Software Development Platform and QNX OS for SafetyEPSS 0.1%CVE-2022-39908MEDIUMTOCTOU vulnerability in Samsung decoding library for video thumbnails prior to SMR Dec-2022 Release 1 allows local attacker to perform Out-OEPSS 0.1%CVE-2022-32608MEDIUMIn jpeg, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with System execution EPSS 0.1%CVE-2026-76925MEDIUMFlatpak: flatpak: toctou race condition allows symlink redirectionEPSS 0.1%CVE-2024-24692MEDIUMZoom Rooms Client for Windows - Race ConditionEPSS 0.1%CVE-2025-44002MEDIUMArbitrary File Creation via Symbolic Link leading to Denial-of-ServiceEPSS 0.1%CVE-2025-41259HIGHSWUpdate Untrusted Script Execution via Signed Update TOCTOUEPSS 0.1%CVE-2026-59676MEDIUMLocal File Deletion Attack Vector in rm_rf() in seunshareEPSS 0.1%CVE-2026-42306HIGHMoby: Race condition in docker cp allows bind mount redirection to host pathEPSS 0.1%