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-2019-13514—In Delta Industrial Automation DOPSoft, Version 4.00.06.15 and prior, processing a specially crafted project file may trigger a use-after-frEPSS 3.0%CVE-2021-29256HIGH. The Arm Mali GPU kernel driver allows an unprivileged user to achieve access to freed memory, leading to information disclosure or root prEPSS 3.0%KEVCVE-2023-38227HIGHZDI-CAN-21241: Adobe Acrobat Reader DC Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 3.0%CVE-2023-38228HIGHZDI-CAN-21317: Adobe Acrobat Reader DC Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 3.0%CVE-2024-39424HIGHZDI-CAN-24309: Adobe Acrobat Reader DC Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 3.0%CVE-2024-39422HIGHZDI-CAN-24090: New Vulnerability Report - Use-after-free remote code execution vulnerability in Adobe Acrobat Reader DCEPSS 3.0%CVE-2019-3994—ELOG 3.1.4-57bea22 and below is affected by a denial of service vulnerability due to a use after free. A remote unauthenticated attacker canEPSS 2.9%CVE-2023-35618CRITICALMicrosoft Edge (Chromium-based) Elevation of Privilege VulnerabilityEPSS 2.9%CVE-2024-4741HIGHUse After Free with SSL_free_buffersEPSS 2.9%CVE-2021-34843HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.0.0.49893. User interaEPSS 2.9%CVE-2023-38222HIGHZDI-CAN-21103: Adobe Acrobat Reader DC AcroForm spawnPageFromTemplate Use-After-Free Remote Code Execution VulnerabilityEPSS 2.9%CVE-2021-21779MEDIUMA use-after-free vulnerability exists in the way Webkit’s GraphicsContext handles certain events in WebKitGTK 2.30.4. A specially crafted weEPSS 2.9%CVE-2021-34849HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.0.0.49893. User interaEPSS 2.9%CVE-2018-9946—This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.0.0.29935. User iEPSS 2.9%CVE-2022-34224HIGHAdobe Acrobat Reader DC AcroForm setItems Use-After-Free Remote Code Execution VulnerabilityEPSS 2.8%CVE-2022-28279HIGHAdobe Photoshop Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 2.8%CVE-2021-31470HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.1.1.37576. User interactioEPSS 2.8%CVE-2026-23631MEDIUMredis-server Lua use-after-free may allow remote code executionEPSS 2.8%CVE-2020-13531HIGHA use-after-free vulnerability exists in a way Pixar OpenUSD 20.08 processes reference paths textual USD files. A specially crafted file canEPSS 2.8%CVE-2021-42381HIGHA use-after-free in Busybox's awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in theEPSS 2.8%