Falhas do tipo CWE-416

5.005 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-2025-26663HIGHWindows Lightweight Directory Access Protocol (LDAP) Remote Code Execution VulnerabilityEPSS 1.9%CVE-2021-34330—A vulnerability has been identified in JT2Go (All versions < V13.2), Teamcenter Visualization (All versions < V13.2). The Jt981.dll library EPSS 1.9%CVE-2024-38259HIGHMicrosoft Management Console Remote Code Execution VulnerabilityEPSS 1.9%CVE-2024-31083HIGHXorg-x11-server: use-after-free in procrenderaddglyphsEPSS 1.9%CVE-2020-13558HIGHA code execution vulnerability exists in the AudioSourceProviderGStreamer functionality of Webkit WebKitGTK 2.30.1. A specially crafted web EPSS 1.9%CVE-2022-24101LOWAdobe Acrobat Reader DC Annotation Use-After-Free Information Disclosure VulnerabilityEPSS 1.9%CVE-2023-32174CRITICALUnified Automation UaGateway NodeManagerOpcUa Use-After-Free Remote Code Execution VulnerabilityEPSS 1.9%CVE-2022-24062HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Sante DICOM Viewer Pro 13.2.0.21165. User EPSS 1.8%CVE-2021-28593LOWAdobe Illustrator PostScript Parsing Use-After-Free Information Disclosure VulnerabilityEPSS 1.8%CVE-2025-21406HIGHWindows Telephony Service Remote Code Execution VulnerabilityEPSS 1.8%CVE-2024-26221HIGHWindows DNS Server Remote Code Execution VulnerabilityEPSS 1.8%CVE-2023-32616HIGHA use-after-free vulnerability exists in the way Foxit Reader 12.1.2.15356 handles 3D annotations. A specially crafted Javascript code insidEPSS 1.8%CVE-2018-20623MEDIUMIn GNU Binutils 2.31.1, there is a use-after-free in the error function in elfcomm.c when called from the process_archive function in readelEPSS 1.8%CVE-2009-2416MEDIUMMultiple use-after-free vulnerabilities in libxml2 2.5.10, 2.6.16, 2.6.26, 2.6.27, and 2.6.32, and libxml 1.8.17, allow context-dependent atEPSS 1.8%CVE-2020-4031LOWUse-After-Free in gdi_SelectObject in FreeRDPEPSS 1.8%CVE-2021-24037—A use after free in hermes, while emitting certain error messages, prior to commit d86e185e485b6330216dee8e854455c694e3a36e allows attackersEPSS 1.8%CVE-2022-1212CRITICALUse-After-Free in str_escape in mruby/mruby in mruby/mrubyEPSS 1.8%CVE-2024-21332HIGHSQL Server Native Client OLE DB Provider Remote Code Execution VulnerabilityEPSS 1.8%CVE-2026-27909HIGHWindows Search Service Elevation of Privilege VulnerabilityEPSS 1.8%CVE-2024-30101HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 1.8%