Falhas do tipo CWE-367

800 resultados

Condição de corrida entre verificação e uso (TOCTOU)

A aplicação verifica uma condição (ex: arquivo existe, usuário tem permissão) e depois atua sobre ela, mas entre a verificação e a ação outro processo pode alterar o estado. Um atacante explora esse intervalo para burlar controles de segurança ou acessar recursos que não deveria.

Exemplo

Um programa verifica se um arquivo é seguro para ler (if (arquivo_existe && nao_eh_symlink)), depois abre e processa. Um atacante substitui o arquivo por um symlink apontando para /etc/passwd entre a verificação e a leitura, conseguindo acessar dados sensíveis.

Como mitigar

Use operações atômicas do SO (open com flags O_NOFOLLOW, O_EXCL; fstat em vez de stat; operações que verificam e atuam em uma única chamada). Implemente locks/mutexes se lógica complexa for necessária, e valide o estado novamente após adquirir recurso.

CVE-2026-112913LOWfilelock: ReadWriteLock on Windows acts on SQLite side files another local user places beside its databaseEPSS 0.1%CVE-2026-35355MEDIUMuutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU RaceEPSS 0.1%CVE-2026-13742MEDIUMLack of signature verification before execution of downloaded contentEPSS 0.1%CVE-2026-56797HIGHDell Command Update (DCU), versions prior to 5.7.1, a Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability. A low privileged attaEPSS 0.1%CVE-2026-54777MEDIUMCoreWCF NetNamedPipe transport accepts attach to a pre-existing named pipe instanceEPSS 0.1%CVE-2026-119345HIGHCocos AI Intra-handshake attested TLS implementation is vulnerable to TOCTOU AttacksEPSS 0.1%CVE-2022-27540HIGHA potential Time-of-Check to Time-of Use (TOCTOU) vulnerability has been identified in the HP BIOS for certain HP PC products, which might aEPSS 0.1%CVE-2022-42917MEDIUMIn FRRouting FRR before 8.5, the service user (usually frr) can escalate its privileges to root by monitoring the configuration directory (/EPSS 0.1%CVE-2024-54084HIGHSMM Arbitrary Write via TOCTOU VulnerabilityEPSS 0.1%CVE-2023-20578HIGHA TOCTOU (Time-Of-Check-Time-Of-Use) in SMM may allow an attacker with ring0 privileges and access to the BIOS menu or UEFI shell to modify EPSS 0.1%CVE-2026-15449MEDIUMTOCTOU double copyin in illumos dld ioctl handling causes kernel heap corruptionEPSS 0.1%CVE-2024-0163MEDIUMDell PowerEdge Server BIOS and Dell Precision Rack BIOS contain a TOCTOU race condition vulnerability. A local low privileged attacker couldEPSS 0.1%CVE-2024-32482LOWTillitis TKey Signer possible RAM disclosure vulnerabilityEPSS 0.1%CVE-2026-62428HIGHgrant-table: type confusion in grant-copyEPSS 0.1%CVE-2026-64034CRITICALnet: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA bufferEPSS 0.1%CVE-2024-42444HIGHTOCTOU Race Condition between DMA and SMMEPSS 0.1%CVE-2025-62511MEDIUMyt-grabber-tui local arbitrary file overwrite via TOCTOU race in config file creationEPSS 0.1%CVE-2024-27238HIGHZoom Apps and SDKs - Race ConditionEPSS 0.1%CVE-2026-27750HIGHAvira Internet Security Optimizer TOCTOUEPSS 0.1%CVE-2025-23279HIGHNVIDIA .run Installer for Linux and Solaris contains a vulnerability where an attacker could use a race condition to escalate privileges. A EPSS 0.1%