Falhas do tipo CWE-416

5.043 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-24677HIGHFreeRDP has a heap-buffer-overflow in ecam_encoder_compress_h264EPSS 0.5%CVE-2025-49743MEDIUMWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2023-38113LOWFoxit PDF Reader Annotation Use-After-Free Information Disclosure VulnerabilityEPSS 0.5%CVE-2022-3352HIGHUse After Free in vim/vimEPSS 0.5%CVE-2025-3416LOWRust-openssl: rust-openssl use-after-free in `md::fetch` and `cipher::fetch`EPSS 0.5%CVE-2022-44547HIGHThe Display Service module has a UAF vulnerability. Successful exploitation of this vulnerability may affect the display service availabilitEPSS 0.5%CVE-2025-29970HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-8829HIGHHTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entitiesEPSS 0.5%CVE-2025-21945HIGHksmbd: fix use-after-free in smb2_lockEPSS 0.5%CVE-2022-44550HIGHThe graphics display module has a UAF vulnerability when traversing graphic layers. Successful exploitation of this vulnerability may affectEPSS 0.5%CVE-2026-19176HIGHUse after free in Skia in Google Chrome prior to 151.0.7922.109 allowed a remote attacker who had compromised the renderer process to executEPSS 0.5%CVE-2022-3235HIGHUse After Free in vim/vimEPSS 0.5%CVE-2022-30644HIGHAdobe Illustrator Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.5%CVE-2025-30385HIGHWindows Common Log File System Driver Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2022-1055HIGHUse after Free in tc_new_tfilter allowing for privilege escalation in Linux KernelEPSS 0.5%CVE-2025-1006HIGHUse after free in Network in Google Chrome prior to 133.0.6943.126 allowed a remote attacker to potentially exploit heap corruption via a crEPSS 0.5%CVE-2026-6758HIGHUse-after-free in the JavaScript: WebAssembly componentEPSS 0.5%CVE-2020-27820—A vulnerability was found in Linux kernel, where a use-after-frees in nouveau's postclose() handler could happen if removing device (that isEPSS 0.5%CVE-2022-3863MEDIUMUse after free in Browser History in Google Chrome prior to 100.0.4896.75 allowed a remote attacker to potentially exploit heap corruption vEPSS 0.5%CVE-2026-43686HIGHA use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 26.7 and iPadOS 26.7, iOS 27 and iPadOS 27,EPSS 0.5%