Falhas do tipo CWE-416

5.134 resultados

Uso após liberação de memória

Ocorre quando o código tenta acessar (ler ou escrever) um bloco de memória que já foi liberado (free, delete). O programa mantém um ponteiro para a memória, mas o sistema operacional pode reatribuir essa região para outro uso, causando corrupção de dados, travamento ou execução de código arbitrário.

Exemplo

Um servidor web aloca memória para armazenar dados de sessão do usuário, depois libera essa memória quando a sessão encerra. Se uma thread continuar tentando acessar essa sessão após a liberação, pode ler dados de outra sessão ou sobrescrever dados críticos de outro processo.

Como mitigar

Sempre anule ponteiros após liberar memória (ptr = NULL), use variáveis de controle para rastrear estado de alocação, implemente gerenciamento automático de memória quando possível (smart pointers em C++), e execute testes com sanitizers (AddressSanitizer, Valgrind) durante desenvolvimento e CI/CD.

CVE-2022-49377HIGHblk-mq: don't touch ->tagset in blk_mq_get_sq_hctxEPSS 0.3%CVE-2022-49696HIGHtipc: fix use-after-free Read in tipc_named_reinitEPSS 0.3%CVE-2026-32156HIGHWindows UPnP Device Host Remote Code Execution VulnerabilityEPSS 0.3%CVE-2026-2804MEDIUMUse-after-free in the JavaScript: WebAssembly componentEPSS 0.3%CVE-2023-31974MEDIUMyasm v1.3.0 was discovered to contain a use after free via the function error at /nasm/nasm-pp.c. Note: Multiple third parties dispute this EPSS 0.3%CVE-2026-12007HIGHUse after free in Core in Google Chrome on Windows prior to 149.0.7827.115 allowed a remote attacker to execute arbitrary code via a craftedEPSS 0.3%CVE-2023-31725MEDIUMyasm 1.3.0.55.g101bc was discovered to contain a heap-use-after-free via the function expand_mmac_params at yasm/modules/preprocs/nasm/nasm-EPSS 0.3%CVE-2026-9887HIGHUse after free in Proxy in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to execute arbitrary code via a crafted PAC scripEPSS 0.3%CVE-2026-84125MEDIUMUse-after-free in the DOM: Core & HTML componentEPSS 0.3%CVE-2026-84118MEDIUMUse-after-free in the JavaScript: GC componentEPSS 0.3%CVE-2023-52973HIGHvc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAFEPSS 0.3%CVE-2026-10909HIGHUse after free in Dawn in Google Chrome prior to 149.0.7827.53 allowed a remote attacker who had compromised the renderer process to potentiEPSS 0.3%CVE-2025-6645HIGHPDF-XChange Editor U3D File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.3%CVE-2026-10908HIGHUse after free in FullScreen in Google Chrome on Windows prior to 149.0.7827.53 allowed a remote attacker who had compromised the renderer pEPSS 0.3%CVE-2025-6644HIGHPDF-XChange Editor U3D File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.3%CVE-2026-10894HIGHUse after free in Printing in Google Chrome on Linux prior to 149.0.7827.53 allowed a remote attacker who had compromised the renderer proceEPSS 0.3%CVE-2026-94055LOWExim before 4.100.1, when certain non-default TLS settings are used with GnuTLS, has a use-after-free.EPSS 0.3%CVE-2026-10900HIGHUse after free in Passwords in Google Chrome on Mac prior to 149.0.7827.53 allowed a remote attacker who convinced a user to engage in speciEPSS 0.3%CVE-2026-11010HIGHUse after free in WebShare in Google Chrome on Android prior to 149.0.7827.53 allowed a remote attacker who had compromised the renderer proEPSS 0.3%CVE-2026-10953HIGHUse after free in Core in Google Chrome on Android prior to 149.0.7827.53 allowed a remote attacker who had compromised the renderer processEPSS 0.3%