Falhas do tipo CWE-416

5.042 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-2023-1533HIGHUse after free in WebProtect in Google Chrome prior to 111.0.5563.110 allowed a remote attacker to potentially exploit heap corruption via aEPSS 0.9%CVE-2023-28306MEDIUMWindows DNS Server Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-28305MEDIUMWindows DNS Server Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-28308MEDIUMWindows DNS Server Remote Code Execution VulnerabilityEPSS 0.9%CVE-2021-20292—There is a flaw reported in the Linux kernel in versions before 5.9 in drivers/gpu/drm/nouveau/nouveau_sgdma.c in nouveau_sgdma_create_ttm iEPSS 0.9%CVE-2021-37202—A vulnerability has been identified in NX 1980 Series (All versions < V1984), Solid Edge SE2021 (All versions < SE2021MP8). The IFC adapter EPSS 0.9%CVE-2022-42720HIGHVarious refcounting bugs in the multi-BSS handling in the mac80211 stack in the Linux kernel 5.1 through 5.19.x before 5.19.16 could be usedEPSS 0.9%CVE-2023-2722HIGHUse after free in Autofill UI in Google Chrome on Android prior to 113.0.5672.126 allowed a remote attacker to potentially exploit heap corrEPSS 0.9%CVE-2022-26381HIGHAn attacker could have caused a use-after-free by forcing a text reflow in an SVG object leading to a potentially exploitable crash. This vuEPSS 0.8%CVE-2024-21384HIGHMicrosoft Office OneNote Remote Code Execution VulnerabilityEPSS 0.8%CVE-2025-55326HIGHWindows Connected Devices Platform Service (Cdpsvc) Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-33630HIGHc-ares : Use-after-free / double-free in c-ares query-completion handling, remotely triggerable via ares_getaddrinfo() over TCPEPSS 0.8%CVE-2024-30366HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-0193HIGHKernel: netfilter: use-after-free in nft_trans_gc_catchall_sync leads to privilege escalationEPSS 0.8%CVE-2025-21394HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.8%CVE-2025-21386HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.8%CVE-2025-21392HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-5175CRITICALDuring process shutdown, it was possible that an `ImageBitmap` was created that would later be used after being freed from a different codepEPSS 0.8%CVE-2022-3885HIGHUse after free in V8 in Google Chrome prior to 107.0.5304.106 allowed a remote attacker to potentially exploit heap corruption via a craftedEPSS 0.8%CVE-2023-23404HIGHWindows Point-to-Point Tunneling Protocol Remote Code Execution VulnerabilityEPSS 0.8%