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-2026-43499HIGHrtmutex: Use waiter::task instead of current in remove_waiter()EPSS 0.3%CVE-2023-52983HIGHblock, bfq: fix uaf for bfqq in bic_set_bfqq()EPSS 0.3%CVE-2025-10527HIGHSandbox escape due to use-after-free in the Graphics: Canvas2D componentEPSS 0.3%CVE-2022-49179HIGHblock, bfq: don't move oom_bfqqEPSS 0.3%CVE-2023-4755MEDIUMUse After Free in gpac/gpacEPSS 0.3%CVE-2022-49176HIGHbfq: fix use-after-free in bfq_dispatch_requestEPSS 0.3%CVE-2026-3919HIGHUse after free in Extensions in Google Chrome prior to 146.0.7680.71 allowed an attacker who convinced a user to install a malicious extensiEPSS 0.3%CVE-2026-21237HIGHWindows Subsystem for Linux Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69890HIGHWindows Virtual Trusted Platform Module Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-49626HIGHsfc: fix use after free when disabling sriovEPSS 0.3%CVE-2024-50217HIGHbtrfs: fix use-after-free of block device file in __btrfs_free_extra_devids()EPSS 0.3%CVE-2022-32903HIGHA use after free issue was addressed with improved memory management. This issue is fixed in tvOS 16, iOS 16, watchOS 9. An app may be able EPSS 0.3%CVE-2022-49685HIGHiio: trigger: sysfs: fix use-after-free on removeEPSS 0.3%CVE-2022-49236HIGHbpf: Fix UAF due to race between btf_try_get_module and load_moduleEPSS 0.3%CVE-2026-15774HIGHUse after free in Skia in Google Chrome prior to 150.0.7871.125 allowed a remote attacker who had compromised the renderer process to potentEPSS 0.3%CVE-2022-41858HIGHA flaw was found in the Linux kernel. A NULL pointer dereference may occur while a slip driver is in progress to detach in sl_tx_timeout in EPSS 0.3%CVE-2022-49287HIGHtpm: fix reference counting for struct tpm_chipEPSS 0.3%CVE-2026-11641HIGHUse after free in Bluetooth in Google Chrome on Windows prior to 149.0.7827.103 allowed a remote attacker who convinced a user to engage in EPSS 0.3%CVE-2026-102308CRITICALUse after free in Views in Google Chrome prior to 154.0.8037.92 allowed a remote attacker leveraging social engineering to execute arbitraryEPSS 0.3%CVE-2026-102309CRITICALUse after free in FullScreen in Google Chrome prior to 154.0.8037.92 allowed a remote attacker to execute arbitrary code outside the sandboxEPSS 0.3%