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-26181HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-41848MEDIUMdrivers/char/pcmcia/synclink_cs.c in the Linux kernel through 5.19.12 has a race condition and resultant use-after-free if a physically proxEPSS 0.3%CVE-2026-61349HIGHWindows Work Folder Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-32153HIGHWindows Speech Runtime Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2025-49562MEDIUMAnimate | Use After Free (CWE-416)EPSS 0.3%CVE-2026-12452HIGHUse after free in Downloads in Google Chrome on Android prior to 149.0.7827.155 allowed a remote attacker to potentially exploit heap corrupEPSS 0.3%CVE-2024-50257HIGHnetfilter: Fix use-after-free in get_info()EPSS 0.3%CVE-2026-50677HIGHWindows Media Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-91096HIGHIn proxygen from v2024.10.28.00 until v2026.09.28.00, WebTransportImpl::terminateSessionStreams (WebTransportImpl::destroy in releases beforEPSS 0.3%CVE-2024-48423HIGHAn issue in assimp v.5.4.3 allows a local attacker to execute arbitrary code via the CallbackToLogRedirector function within the Assimp librEPSS 0.3%CVE-2026-11100CRITICALUse after free in File Input in Google Chrome on Mac prior to 149.0.7827.53 allowed a remote attacker who convinced a user to engage in specEPSS 0.3%CVE-2025-21811HIGHnilfs2: protect access to buffers with no active referencesEPSS 0.3%CVE-2022-49651HIGHsrcu: Tighten cleanup_srcu_struct() GP checksEPSS 0.3%CVE-2022-49622HIGHnetfilter: nf_tables: avoid skb access on nf_stolenEPSS 0.3%CVE-2026-84894HIGHIn moxygen before commit 004123dd24c3, MoQSession::dataStreamReadLoop keeps using a stream read handle after reading a FIN, which invalidateEPSS 0.3%CVE-2023-3610HIGHUse-after-free in Linux kernel's netfilter: nf_tables componentEPSS 0.3%CVE-2024-23848MEDIUMIn the Linux kernel through 6.7.1, there is a use-after-free in cec_queue_msg_fh, related to drivers/media/cec/core/cec-adap.c and drivers/mEPSS 0.3%CVE-2024-33068HIGHUse After Free in WLAN Host CommunicationEPSS 0.3%CVE-2021-47375MEDIUMblktrace: Fix uaf in blk_trace access after removing by sysfsEPSS 0.3%CVE-2024-0562HIGHKernel: use-after-free after removing device in wb_inode_writeback_end in mm/page-writeback.cEPSS 0.3%