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-19662MEDIUMqpcache NOQNAME proof use-after-free crashes recursive resolverEPSS 0.5%CVE-2023-0135HIGHUse after free in Cart in Google Chrome prior to 109.0.5414.74 allowed an attacker who convinced a user to install a malicious extension to EPSS 0.5%CVE-2025-1012CRITICALUse-after-free during concurrent delazificationEPSS 0.5%CVE-2023-0134HIGHUse after free in Cart in Google Chrome prior to 109.0.5414.74 allowed an attacker who convinced a user to install a malicious extension to EPSS 0.5%CVE-2025-43577HIGHAcrobat Reader | Use After Free (CWE-416)EPSS 0.5%CVE-2025-43550HIGHAcrobat Reader | Use After Free (CWE-416)EPSS 0.5%CVE-2021-3392—A use-after-free flaw was found in the MegaRAID emulator of QEMU. This issue occurs while processing SCSI I/O requests in the case of an errEPSS 0.4%CVE-2026-92040HIGHUse-after-free in the JavaScript: WebAssembly componentEPSS 0.4%CVE-2026-6928CRITICALMultiple Vulnerabilities in IBM Concert SoftwareEPSS 0.4%CVE-2025-53147HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2026-24680HIGHFreeRDP has a heap-use-after-free in update_pointer_new(SDL)EPSS 0.4%CVE-2023-21532HIGHWindows GDI Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2024-0806HIGHUse after free in Passwords in Google Chrome prior to 121.0.6167.85 allowed a remote attacker to potentially exploit heap corruption via speEPSS 0.4%CVE-2026-10646HIGHUse-after-return in `zsock_getaddrinfo()` when a timed-out DNS query is retried without cancellationEPSS 0.4%CVE-2025-53152HIGHDesktop Windows Manager Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-6192HIGHUse after free in Metrics in Google Chrome prior to 137.0.7151.119 allowed a remote attacker to potentially exploit heap corruption via a crEPSS 0.4%CVE-2023-40491HIGHMaxon Cinema 4D SKP File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-54102HIGHWindows Connected Devices Platform Service Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2024-9252LOWFoxit PDF Reader AcroForm Use-After-Free Information Disclosure VulnerabilityEPSS 0.4%CVE-2023-40488HIGHMaxon Cinema 4D SKP File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.4%