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-21241HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 2.6%CVE-2022-35254HIGHAn unauthenticated attacker can cause a denial-of-service to the following products: Ivanti Connect Secure (ICS) in versions prior to 9.1R14EPSS 2.6%CVE-2023-38243MEDIUMZDI-CAN-21252: Adobe Acrobat Reader DC JBIG2 File Parsing Use-After-Free Information Disclosure VulnerabilityEPSS 2.6%CVE-2024-35264HIGH.NET and Visual Studio Remote Code Execution VulnerabilityEPSS 2.6%CVE-2022-30647HIGHAdobe Illustrator Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 2.5%CVE-2022-30648HIGHAdobe Illustrator Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 2.5%CVE-2021-21900HIGHA code execution vulnerability exists in the dxfRW::processLType() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crEPSS 2.5%CVE-2022-24360HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.1.0.52543. User interaEPSS 2.5%CVE-2022-24367HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.1.0.52543. User interaEPSS 2.5%CVE-2022-24363HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.1.0.52543. User interaEPSS 2.5%CVE-2022-24366HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.1.0.52543. User interaEPSS 2.5%CVE-2022-24365HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.1.0.52543. User interaEPSS 2.5%CVE-2022-24362HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.1.0.52543. User interaEPSS 2.5%CVE-2022-24364HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.1.0.52543. User interaEPSS 2.5%CVE-2022-24359HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.1.0.52543. User interaEPSS 2.5%CVE-2022-24357HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.1.0.52543. User interaEPSS 2.5%CVE-2024-21409HIGH.NET, .NET Framework, and Visual Studio Remote Code Execution VulnerabilityEPSS 2.5%CVE-2021-36008LOWAdobe Illustrator PDF File Parsing Use-After-Free Information Disclosure VulnerabilityEPSS 2.5%CVE-2022-43552MEDIUMA use after free vulnerability exists in curl <7.87.0. Curl can be asked to *tunnel* virtually all protocols it supports through an HTTP proEPSS 2.5%CVE-2025-62221HIGHWindows Cloud Files Mini Filter Driver Elevation of Privilege VulnerabilityEPSS 2.5%KEV