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-59122HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50503HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-42991HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-54111HIGHUniversal Print Management Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-26172HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49183HIGHWindows Clipboard Server Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62727HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50669HIGHWindows Telephony Server Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-54112HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50371HIGHWindows LUA File Virtualization Filter Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-44800HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49806HIGHWindows USB Print Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50404HIGHWindows Media Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-73005HIGHWindows Authentication Methods Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49802HIGHWindows USB Print Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32165HIGHWindows User Interface Core Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32160HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-45596HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-42836HIGHWindows Function Discovery Service (fdwsd.dll) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-33104HIGHWin32k Elevation of Privilege VulnerabilityEPSS 0.2%