Weaknesses of type CWE-362

1,089 results

Condição de corrida

Ocorre quando dois ou mais processos/threads acessam e modificam um recurso compartilhado simultaneamente, sem sincronização adequada. O resultado final depende da ordem e timing das operações, criando estados inconsistentes que podem ser explorados para contornar controles de segurança, corromper dados ou ganhar privilégios.

Example

Um aplicativo verifica se um arquivo existe e tem permissão de leitura (check), depois o abre (use). Um atacante, entre o check e o use, substitui o arquivo por um link simbólico apontando para /etc/passwd. O programa abre inadvertidamente um arquivo sensível que não deveria acessar.

How to mitigate

Use primitivas de sincronização (mutexes, semáforos, locks) para serializar acessos críticos. Quando possível, use operações atômicas do SO (ex: open com flags O_EXCL) que combinam check e use em uma única syscall indivisível. Validar estado antes de cada operação crítica, não apenas uma vez.

CVE-2022-26765MEDIUMA race condition was addressed with improved state handling. This issue is fixed in watchOS 8.6, tvOS 15.5, macOS Monterey 12.4, iOS 15.5 anEPSS 0.2%CVE-2026-62908HIGHWindows Backup Engine Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32163HIGHWindows User Interface Core Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32158HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50403HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-26168HIGHWindows 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-45596HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32165HIGHWindows User Interface Core Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32164HIGHWindows User Interface Core Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-27911HIGHWindows User Interface Core Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32083HIGHWindows Simple Search and Discovery Protocol (SSDP) Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49183HIGHWindows Clipboard Server Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-34331HIGHWin32k Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49802HIGHWindows USB Print Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50345HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62727HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50404HIGHWindows Media Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-44800HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-54112HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.2%