Falhas do tipo CWE-416

5.138 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-2026-87657LOWUse after free in V8 in Google Chrome prior to 153.0.8010.36 allowed a remote attacker who had compromised the renderer process to read memoEPSS 0.2%CVE-2025-21928HIGHHID: intel-ish-hid: Fix use-after-free issue in ishtp_hid_remove()EPSS 0.2%CVE-2025-61801HIGHDimension | Use After Free (CWE-416)EPSS 0.2%CVE-2025-12437HIGHUse after free in PageInfo in Google Chrome prior to 142.0.7444.59 allowed a remote attacker who convinced a user to engage in specific UI gEPSS 0.2%CVE-2026-92627MEDIUMHeap Use-After-Free in H5T__conv_f_fEPSS 0.2%CVE-2026-11073MEDIUMUse after free in WebGL in Google Chrome prior to 149.0.7827.53 allowed a remote attacker to obtain potentially sensitive information from pEPSS 0.2%CVE-2026-11208MEDIUMUse after free in Codecs in Google Chrome prior to 149.0.7827.53 allowed a remote attacker to obtain potentially sensitive information from EPSS 0.2%CVE-2026-12028HIGHUse after free in GPU in Google Chrome on Android prior to 149.0.7827.115 allowed a remote attacker who had compromised the renderer processEPSS 0.2%CVE-2025-5644LOWRadare2 radiff2 cons.c r_cons_flush use after freeEPSS 0.2%CVE-2024-56675HIGHbpf: Fix UAF via mismatching bpf_prog/attachment RCU flavorsEPSS 0.2%CVE-2026-12023HIGHUse after free in GPU in Google Chrome on Mac prior to 149.0.7827.115 allowed a remote attacker who had compromised the renderer process to EPSS 0.2%CVE-2022-48637HIGHbnxt: prevent skb UAF after handing over to PTP workerEPSS 0.2%CVE-2024-56602HIGHnet: ieee802154: do not leave a dangling sk pointer in ieee802154_create()EPSS 0.2%CVE-2024-1312MEDIUMKernel: race condition leads to use after free during vma lock in lock_vma_under_rcuEPSS 0.2%CVE-2025-21999HIGHproc: fix UAF in proc_get_inode()EPSS 0.2%CVE-2026-11305HIGHUse after free in PDFium in Google Chrome prior to 149.0.7827.53 allowed a remote attacker to execute arbitrary code inside a sandbox via a EPSS 0.2%CVE-2024-50130HIGHnetfilter: bpf: must hold reference on net namespaceEPSS 0.2%CVE-2024-0217LOWPackagekitd: use-after-free in idle function callbackEPSS 0.2%CVE-2026-11307HIGHUse after free in PDFium in Google Chrome prior to 149.0.7827.53 allowed a remote attacker to execute arbitrary code inside a sandbox via a EPSS 0.2%CVE-2025-12205MEDIUMKamailio Configuration File cfg.lex sr_push_yy_state use after freeEPSS 0.2%