Falhas do tipo CWE-362

1.089 resultados

Condição de corrida

Ocorre quando dois ou mais threads/processos acessam um recurso compartilhado (arquivo, memória, banco de dados) quase simultaneamente, e o resultado final depende da ordem de execução que não é controlada. Se a sincronização falha, um thread pode ler ou modificar dados enquanto outro está no meio da operação, causando inconsistência ou comportamento imprevisto.

Exemplo

Um sistema de autenticação que verifica se um arquivo de token existe (sem estar sincronizado): thread A verifica que o arquivo não existe no instante T1, thread B cria o token no instante T2, mas thread A já passou da verificação e cria um novo token conflitante em T3. O resultado depende do timing, não da lógica.

Como mitigar

Use mecanismos de sincronização (locks, mutexes, operações atômicas) ao acessar recursos compartilhados, ou redesenhe a lógica para evitar compartilhamento (cada thread com seu espaço). Para operações de arquivo, use flags de criação exclusiva (O_EXCL em Unix) em vez de verificar-depois-criar.

CVE-2026-54112HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49183HIGHWindows Clipboard Server Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-45597HIGHWindows UI Automation Manager (uiamanager.dll) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-27921HIGHWindows TDI Translation Driver (tdx.sys) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-68840HIGHWindows USB Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49784HIGHMicrosoft Windows App Store Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2021-3702—A race condition flaw was found in ansible-runner, where an attacker could watch for rapid creation and deletion of a temporary directory, sEPSS 0.2%CVE-2026-34345HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62705HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62908HIGHWindows Backup Engine Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-45598HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-58628HIGHWindows Wireless Network Manager Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-69319HIGHWindows USB Video Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62729HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-58598HIGHWindows Backup Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-26173HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32219HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62780HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32093HIGHWindows Function Discovery Service (fdwsd.dll) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-59126HIGHWindows Event Logging Service Elevation of Privilege VulnerabilityEPSS 0.2%