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-2022-37379LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Reader 11.2.1.53537. UseEPSS 0.9%CVE-2022-34705HIGHWindows Defender Credential Guard Elevation of Privilege VulnerabilityEPSS 0.9%CVE-2022-37382LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Reader 11.2.1.53537. UseEPSS 0.9%CVE-2022-48340HIGHIn Gluster GlusterFS 11.0, there is an xlators/cluster/dht/src/dht-common.c dht_setxattr_mds_cbk use-after-free.EPSS 0.9%CVE-2023-35734LOWSante DICOM Viewer Pro DCM File Parsing Use-After-Free Information Disclosure VulnerabilityEPSS 0.9%CVE-2023-37117CRITICALA heap-use-after-free vulnerability was found in live555 version 2023.05.10 while handling the SETUP.EPSS 0.9%CVE-2021-41043—Use after free in tcpslice triggers AddressSanitizer, no other confirmed impact.EPSS 0.9%CVE-2024-34161MEDIUMNGINX HTTP/3 QUIC vulnerabilityEPSS 0.9%CVE-2025-11234HIGHQemu-kvm: vnc websocket handshake use-after-freeEPSS 0.9%CVE-2025-27746HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.9%CVE-2025-27750HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.9%CVE-2024-49032HIGHMicrosoft Office Graphics Remote Code Execution VulnerabilityEPSS 0.9%CVE-2018-10879MEDIUMA flaw was found in the Linux kernel's ext4 filesystem. A local user can cause a use-after-free in ext4_xattr_set_entry function and a deniaEPSS 0.9%CVE-2023-4358HIGHUse after free in DNS in Google Chrome prior to 116.0.5845.96 allowed a remote attacker to potentially exploit heap corruption via a craftedEPSS 0.9%CVE-2024-38066HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.9%CVE-2024-5702HIGHMemory corruption in the networking stack could have led to a potentially exploitable crash. This vulnerability affects Firefox < 125, FirefEPSS 0.9%CVE-2025-3028MEDIUMUse-after-free triggered by XSLTProcessorEPSS 0.9%CVE-2021-44447—A vulnerability has been identified in JT Utilities (All versions < V13.0.3.0), JTTK (All versions < V11.0.3.0). JTTK library in affected prEPSS 0.9%CVE-2021-44433—A vulnerability has been identified in JT Utilities (All versions < V13.1.1.0), JTTK (All versions < V11.1.1.0). JTTK library in affected prEPSS 0.9%CVE-2023-28308MEDIUMWindows DNS Server Remote Code Execution VulnerabilityEPSS 0.9%