Weaknesses of type CWE-367

680 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-2022-48682MEDIUMIn deletefiles in FDUPES before 2.2.0, a TOCTOU race condition allows arbitrary file deletion via a symlink.EPSS 0.2%CVE-2026-55524HIGHPraisonAI: SSRF in web_crawl tool via redirect-following and DNS rebinding (validate-then-fetch gap)EPSS 0.2%CVE-2024-50234HIGHwifi: iwlegacy: Clear stale interrupts before resuming deviceEPSS 0.2%CVE-2026-69563HIGHWindows Program Compatibility Assistant Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2025-58407HIGHGPU DDK - TOCTOU bug affecting psFWMemContext->uiPageCatBaseRegSetEPSS 0.2%CVE-2022-48191HIGHA vulnerability exists in Trend Micro Maximum Security 2022 (17.7) wherein a low-privileged user can write a known malicious executable to aEPSS 0.2%CVE-2026-42592MEDIUMGotenberg: DNS rebinding bypasses SSRF validation on Chromium URL conversion routesEPSS 0.2%CVE-2026-73829MEDIUMNon-atomic hash-credential dedup in mpp Tempo allows replay of a confirmed payment under a concurrent raceEPSS 0.2%CVE-2025-59261HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2023-5760HIGHTime-of-check to time-of-use (TOCTOU) bug leads to full local privilege escalation.EPSS 0.2%CVE-2026-62728HIGHWindows Common Log File System Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-69859HIGHWindows USB Audio Class driver (usbaudio.sys) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-78464HIGHWindows MIDI Service Module Elevation of Privileges VulnerabilityEPSS 0.2%CVE-2026-42336MEDIUMMaxKB: SSRF Bypass via DNS Rebinding in MaxKB OSS URL FetchEPSS 0.2%CVE-2023-28075MEDIUM Dell BIOS contain a Time-of-check Time-of-use vulnerability in BIOS. A local authenticated malicious user with physical access to the systeEPSS 0.2%CVE-2021-4001—A race condition was found in the Linux kernel's ebpf verifier between bpf_map_update_elem and bpf_map_freeze due to a missing lock in kerneEPSS 0.2%CVE-2026-27929HIGHWindows LUA File Virtualization Filter Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2023-22883HIGHLocal Privilege Escalation in Zoom for Windows InstallersEPSS 0.2%CVE-2026-45487HIGHWindows Program Compatibility Assistant Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2024-3290HIGHRace ConditionEPSS 0.2%