Falhas do tipo CWE-367

680 resultados

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

A aplicação verifica uma condição (ex: arquivo existe, usuário tem permissão) e depois atua sobre ela, mas entre a verificação e a ação outro processo pode alterar o estado. Um atacante explora esse intervalo para burlar controles de segurança ou acessar recursos que não deveria.

Exemplo

Um programa verifica se um arquivo é seguro para ler (if (arquivo_existe && nao_eh_symlink)), depois abre e processa. Um atacante substitui o arquivo por um symlink apontando para /etc/passwd entre a verificação e a leitura, conseguindo acessar dados sensíveis.

Como mitigar

Use operações atômicas do SO (open com flags O_NOFOLLOW, O_EXCL; fstat em vez de stat; operações que verificam e atuam em uma única chamada). Implemente locks/mutexes se lógica complexa for necessária, e valide o estado novamente após adquirir recurso.

CVE-2025-46415LOWA race condition in the Nix, Lix, and Guix package managers allows the removal of content from arbitrary folders. This affects Nix before 2.EPSS 0.1%CVE-2024-42446HIGHTOCTOU in SmmWheaEPSS 0.1%CVE-2026-91813HIGHFoxit PDF Editor/Reader FoxitUpdater Race Condition Local Privilege Escalation VulnerabilityEPSS 0.1%CVE-2024-22185HIGHTime-of-check Time-of-use Race Condition in some Intel(R) processors with Intel(R) ACTM may allow a privileged user to potentially enable esEPSS 0.1%CVE-2026-23554HIGHUse after free of paging structures in EPTEPSS 0.1%CVE-2026-22701MEDIUMfilelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLockEPSS 0.1%CVE-2023-34046MEDIUMVMware Fusion TOCTOU local privilege escalation vulnerabilityEPSS 0.1%CVE-2024-53694HIGHQVPN Device Client, Qsync, Qfinder ProEPSS 0.1%CVE-2024-36311MEDIUMA Time-of-check time-of-use (TOCTOU) race condition in the SMM communications buffer could allow a privileged attacker to bypass input validEPSS 0.1%CVE-2026-52885HIGHNotepad++ TOCTOU: HMAC Checks Disk, Executes from MemoryEPSS 0.1%CVE-2025-64118MEDIUMnode-tar vulnerable to race condition leading to uninitialized memory exposureEPSS 0.1%CVE-2025-20074HIGHTime-of-check Time-of-use race condition for some Intel(R) Connectivity Performance Suite software installers before version 40.24.11210 mayEPSS 0.1%CVE-2026-45203HIGHGPU DDK - rgxfw_hwperf_ufo() re-reads psCmdHeader->ui32CmdSize after initial check, TOCTOUEPSS 0.1%CVE-2026-86805MEDIUMAT_SECURE programs may load attacker-controlled code via $ORIGINEPSS 0.1%CVE-2025-64645HIGHMultiple Vulnerabilities in IBM Concert Software.EPSS 0.1%CVE-2025-53594MEDIUMQfinder Pro, Qsync, QVPNEPSS 0.1%CVE-2026-22751MEDIUMSpring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessionsEPSS 0.1%CVE-2026-16082MEDIUMSipeed PicoClaw pipeline_execute.go ExecTool.executeRun toctouEPSS 0.1%CVE-2026-58198MEDIUMChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainerEPSS 0.1%CVE-2024-27361MEDIUMA vulnerability was discovered in Samsung Mobile Processor Exynos 980, Exynos 990, Exynos 1080, Exynos 2100, Exynos 2200, Exynos 1280, ExynoEPSS 0.1%