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-69890HIGHWindows Virtual Trusted Platform Module Elevation of Privilege VulnerabilityEPSS 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-2024-50217HIGHbtrfs: fix use-after-free of block device file in __btrfs_free_extra_devids()EPSS 0.3%CVE-2023-1670HIGHA flaw use after free in the Linux kernel Xircom 16-bit PCMCIA (PC-card) Ethernet driver was found.A local user could use this flaw to crashEPSS 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-2023-4679MEDIUMUse After Free in gpac/gpacEPSS 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-2026-10915HIGHUse after free in Core in Google Chrome on iOS prior to 149.0.7827.53 allowed a remote attacker who had compromised the renderer process to EPSS 0.3%CVE-2024-26333MEDIUMswftools v0.9.2 was discovered to contain a segmentation violation via the function free_lines at swftools/lib/modules/swfshape.c.EPSS 0.3%CVE-2026-15772HIGHUse after free in GPU in Google Chrome on Android prior to 150.0.7871.125 allowed a remote attacker who had compromised the renderer processEPSS 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-2022-49182HIGHnet: hns3: add vlan list lock to protect vlan listEPSS 0.3%CVE-2022-49287HIGHtpm: fix reference counting for struct tpm_chipEPSS 0.3%CVE-2022-49196HIGHpowerpc/pseries: Fix use after free in remove_phb_dynamic()EPSS 0.3%CVE-2022-49711HIGHbus: fsl-mc-bus: fix KASAN use-after-free in fsl_mc_bus_remove()EPSS 0.3%CVE-2026-11639HIGHUse after free in Compositing in Google Chrome on Mac prior to 149.0.7827.103 allowed a remote attacker to execute arbitrary code via a crafEPSS 0.3%CVE-2022-49236HIGHbpf: Fix UAF due to race between btf_try_get_module and load_moduleEPSS 0.3%CVE-2023-45898HIGHThe Linux kernel before 6.5.4 has an es1 use-after-free in fs/ext4/extents_status.c, related to ext4_es_insert_extent.EPSS 0.3%CVE-2026-10634MEDIUMUse-after-free in Zephyr native TCP `net_tcp_foreach()` due to dropping `tcp_lock` during the callbackEPSS 0.3%