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-2024-26455HIGHfluent-bit 2.2.2 contains a Use-After-Free vulnerability in /fluent-bit/plugins/custom_calyptia/calyptia.c.EPSS 0.7%CVE-2024-24263HIGHLotos WebServer v0.1.1 was discovered to contain a Use-After-Free (UAF) vulnerability via the response_append_status_line function at /lotosEPSS 0.7%CVE-2024-2400HIGHUse after free in Performance Manager in Google Chrome prior to 122.0.6261.128 allowed a remote attacker to potentially exploit heap corruptEPSS 0.7%CVE-2024-24260HIGHmedia-server v1.0.0 was discovered to contain a Use-After-Free (UAF) vulnerability via the sip_subscribe_remove function at /uac/sip-uac-subEPSS 0.7%CVE-2024-24262HIGHmedia-server v1.0.0 was discovered to contain a Use-After-Free (UAF) vulnerability via the sip_uac_stop_timer function at /uac/sip-uac-transEPSS 0.7%CVE-2023-24953HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.7%CVE-2021-30469—A flaw was found in PoDoFo 0.9.7. An use-after-free in PoDoFo::PdfVecObjects::Clear() function can cause a denial of service via a crafted PEPSS 0.7%CVE-2026-5281HIGHUse after free in Dawn in Google Chrome prior to 146.0.7680.178 allowed a remote attacker who had compromised the renderer process to executEPSS 0.7%KEVCVE-2022-48686CRITICALnvme-tcp: fix UAF when detecting digest errorsEPSS 0.7%CVE-2023-21773HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2019-8526HIGHA use after free issue was addressed with improved memory management. This issue is fixed in macOS Mojave 10.14.4. An application may be ablEPSS 0.7%KEVCVE-2026-50369HIGHWindows Remote Desktop Services Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2026-82623MEDIUMopen62541 History Backend ua_history_data_backend_memory.c UA_DataValue_backend_copyRange use after freeEPSS 0.7%CVE-2023-24947HIGHWindows Bluetooth Driver Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-24082HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-20681HIGHWindows Subsystem for Linux Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2022-46394HIGHAn issue was discovered in the Arm Mali GPU Kernel Driver. A non-privileged user can make improper GPU processing operations to gain access EPSS 0.7%CVE-2026-56649MEDIUMWindows Network File System Remote Code Execution VulnerabilityEPSS 0.7%CVE-2023-35351MEDIUMWindows Active Directory Certificate Services (AD CS) Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-38078HIGHXbox Wireless Adapter Remote Code Execution VulnerabilityEPSS 0.7%