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-2023-25361HIGHA use-after-free vulnerability in WebCore::RenderLayer::setNextSibling in WebKitGTK before 2.36.8 allows attackers to execute code remotely.EPSS 1.0%CVE-2026-72979CRITICALWindows DHCP Server Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-62893CRITICALWindows Deployment Services TFTP Server Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-78445CRITICALWindows Services for NFS ONCRPC XDR Driver Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-72983CRITICALInternet Connection Sharing (ICS) Remote Code Execution VulnerabilityEPSS 1.0%CVE-2024-26592CRITICALksmbd: fix UAF issue in ksmbd_tcp_new_connection()EPSS 1.0%CVE-2024-2612HIGHIf an attacker could find a way to trigger a particular code path in `SafeRefPtr`, it could have triggered a crash or potentially be leveragEPSS 1.0%CVE-2022-1106HIGHuse after free in mrb_vm_exec in mruby/mrubyEPSS 1.0%CVE-2025-29831HIGHWindows Remote Desktop Services Remote Code Execution VulnerabilityEPSS 1.0%CVE-2023-1811HIGHUse after free in Frames in Google Chrome prior to 112.0.5615.49 allowed a remote attacker who convinced a user to engage in specific UI intEPSS 1.0%CVE-2024-9955HIGHUse after free in WebAuthentication in Google Chrome prior to 130.0.6723.58 allowed a remote attacker to potentially exploit heap corruptionEPSS 1.0%CVE-2024-21385HIGHMicrosoft Edge (Chromium-based) Elevation of Privilege VulnerabilityEPSS 1.0%CVE-2023-2932HIGHUse after free in PDF in Google Chrome prior to 114.0.5735.90 allowed a remote attacker to potentially exploit heap corruption via a craftedEPSS 1.0%CVE-2022-3046HIGHUse after free in Browser Tag in Google Chrome prior to 105.0.5195.52 allowed an attacker who convinced a user to install a malicious extensEPSS 1.0%CVE-2022-22740HIGHCertain network request objects were freed too early when releasing a network request handle. This could have lead to a use-after-free causiEPSS 1.0%CVE-2023-33657HIGHA use-after-free vulnerability exists in NanoMQ 0.17.2. The vulnerability can be triggered by calling the function nni_mqtt_msg_get_publish_EPSS 1.0%CVE-2025-63651HIGHA use-after-free in the mk_string_char_search function (mk_core/mk_string.c) of monkey commit f37e984 allows attackers to cause a Denial of EPSS 1.0%CVE-2022-28310HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.02.034.EPSS 1.0%CVE-2022-43286CRITICALNginx NJS v0.7.2 was discovered to contain a heap-use-after-free bug caused by illegal memory copy in the function njs_json_parse_iterator_cEPSS 1.0%CVE-2022-3039HIGHUse after free in WebSQL in Google Chrome prior to 105.0.5195.52 allowed a remote attacker to potentially exploit heap corruption via a crafEPSS 1.0%