Falhas do tipo CWE-416

5.038 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-27854MEDIUMUse after free when parsing EDNS options in LuaEPSS 1.3%CVE-2026-4271MEDIUMLibsoup: libsoup: denial of service via use-after-free in http/2 serverEPSS 1.3%CVE-2019-5053HIGHAn exploitable use-after-free vulnerability exists in the Length parsing function of NitroPDF. A specially crafted PDF can cause a type confEPSS 1.3%CVE-2019-5047HIGHAn exploitable Use After Free vulnerability exists in the CharProcs parsing functionality of NitroPDF. A specially crafted PDF can cause a tEPSS 1.3%CVE-2021-32781HIGHContinued processing of requests after locally generated responseEPSS 1.3%CVE-2022-0699CRITICALA double-free condition exists in contrib/shpsort.c of shapelib 1.5.0 and older releases. This issue may allow an attacker to cause a denialEPSS 1.3%CVE-2024-24266HIGHgpac v2.2.1 was discovered to contain a Use-After-Free (UAF) vulnerability via the dasher_configure_pid function at /src/filters/dasher.c.EPSS 1.3%CVE-2022-2526—A use-after-free vulnerability was found in systemd. This issue occurs due to the on_stream_io() function and dns_stream_complete() functionEPSS 1.3%CVE-2022-22628HIGHA use after free issue was addressed with improved memory management. This issue is fixed in macOS Monterey 12.3, Safari 15.4, watchOS 8.5, EPSS 1.3%CVE-2022-22624HIGHA use after free issue was addressed with improved memory management. This issue is fixed in macOS Monterey 12.3, iOS 15.4 and iPadOS 15.4, EPSS 1.3%CVE-2023-38169HIGHMicrosoft SQL OLE DB Remote Code Execution VulnerabilityEPSS 1.3%CVE-2022-34707HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 1.3%CVE-2025-47957HIGHMicrosoft Word Remote Code Execution VulnerabilityEPSS 1.3%CVE-2020-7827HIGHDaviewIndy Use-After-Free VulnerabilityEPSS 1.3%CVE-2024-36886CRITICALtipc: fix UAF in error pathEPSS 1.3%CVE-2023-3269HIGHDistros-[dirtyvma] privilege escalation via non-rcu-protected vma traversalEPSS 1.3%CVE-2023-5218HIGHUse after free in Site Isolation in Google Chrome prior to 118.0.5993.70 allowed a remote attacker to potentially exploit heap corruption viEPSS 1.3%CVE-2026-6722CRITICALUse-After-Free in SOAP using Apache mapEPSS 1.3%CVE-2021-4069HIGHUse After Free in vim/vimEPSS 1.3%CVE-2025-24252HIGHA use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 18.4 and iPadOS 18.4, iPadOS 17.7.6, macOS EPSS 1.3%