Falhas do tipo CWE-362

1.431 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-2025-54913HIGHWindows UI XAML Maps MapControlSettings Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-121079HIGHRace condition in V8 in Google Chrome prior to 157.0.8103.38 allowed a remote attacker to execute arbitrary code inside the sandbox via a crEPSS 0.3%CVE-2026-64865MEDIUMNew API: Redis user quota cache overwrite via PUT /api/user/self allows quota bypassEPSS 0.3%CVE-2026-58616MEDIUMCopilot Chat (Microsoft Edge) Information Disclosure VulnerabilityEPSS 0.3%CVE-2026-43239HIGHsmb: client: prevent races in ->query_interfaces()EPSS 0.3%CVE-2026-53260CRITICALtcp: Add preempt_{disable,enable}_nested() in reqsk_queue_hash_req().EPSS 0.3%CVE-2026-25536HIGH@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuseEPSS 0.3%CVE-2026-20858HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-20873HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-82416HIGHFrankenPHP: Cross-request PHP session ID leak in worker mode when the session extension is a shared moduleEPSS 0.3%CVE-2026-20866HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-20874HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-20814HIGHDirectX Graphics Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-20808HIGHWindows File Explorer Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-44693HIGHPi-hole FTL: Unauthenticated Session Hijacking via Race Condition on Global Session BufferEPSS 0.3%CVE-2020-10737MEDIUMA race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the hoEPSS 0.3%CVE-2026-20815HIGHCapability Access Management Service (camsvc) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-20869HIGHWindows Local Session Manager (LSM) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-32700MEDIUMDevise has a confirmable "change email" race condition that permits user to confirm email they have no access toEPSS 0.3%CVE-2026-20867HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%