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-11634CRITICALUse after free in Gamepad in Google Chrome on Windows prior to 149.0.7827.103 allowed a remote attacker to potentially perform a sandbox escEPSS 0.3%CVE-2022-49082HIGHscsi: mpt3sas: Fix use after free in _scsih_expander_node_remove()EPSS 0.3%CVE-2026-2321HIGHUse after free in Ozone in Google Chrome prior to 145.0.7632.45 allowed a remote attacker who convinced a user to engage in specific UI gestEPSS 0.3%CVE-2025-12438HIGHUse after free in Ozone in Google Chrome on Linux and ChromeOS prior to 142.0.7444.59 allowed a remote attacker to potentially exploit objecEPSS 0.3%CVE-2026-11657HIGHUse after free in Payments in Google Chrome on Mac prior to 149.0.7827.103 allowed a remote attacker to execute arbitrary code via a craftedEPSS 0.3%CVE-2026-11654CRITICALUse after free in CameraCapture in Google Chrome on Mac prior to 149.0.7827.103 allowed a remote attacker to potentially perform a sandbox eEPSS 0.3%CVE-2023-52838MEDIUMfbdev: imsttfb: fix a resource leak in probeEPSS 0.3%CVE-2022-3977HIGHA use-after-free flaw was found in the Linux kernel MCTP (Management Component Transport Protocol) functionality. This issue occurs when a uEPSS 0.3%CVE-2024-50280HIGHdm cache: fix flushing uninitialized delayed_work on cache_ctr errorEPSS 0.3%CVE-2026-12440CRITICALUse after free in DigitalCredentials in Google Chrome on Windows prior to 149.0.7827.155 allowed a remote attacker to potentially perform a EPSS 0.3%CVE-2023-1838—A use-after-free flaw was found in vhost_net_set_backend in drivers/vhost/net.c in virtio network subcomponent in the Linux kernel due to a EPSS 0.3%CVE-2026-11941MEDIUMUse-after-free in connection ID iterator and FFI functionsEPSS 0.3%CVE-2023-4295HIGHMali GPU Kernel Driver allows improper GPU memory processing operationsEPSS 0.3%CVE-2024-57926HIGHdrm/mediatek: Set private->all_drm_private[i]->drm to NULL if mtk_drm_bind returns errEPSS 0.3%CVE-2025-59195HIGHWindows Graphics Component Denial of Service VulnerabilityEPSS 0.3%CVE-2025-8176MEDIUMLibTIFF tiffmedian.c get_histogram use after freeEPSS 0.3%CVE-2023-33250MEDIUMThe Linux kernel 6.3 has a use-after-free in iopt_unmap_iova_range in drivers/iommu/iommufd/io_pagetable.c.EPSS 0.3%CVE-2022-2979HIGHOmron CX-ProgrammerEPSS 0.3%CVE-2023-2235HIGHUse-after-free in Linux kernel's Performance Events subsystemEPSS 0.3%CVE-2025-59220HIGHWindows Bluetooth Service Elevation of Privilege VulnerabilityEPSS 0.2%