Weaknesses of type CWE-416

5,042 results

Uso após liberação de memória

Ocorre quando o código tenta acessar um bloco de memória que já foi desalocado (free/delete). O ponteiro continua apontando para aquele endereço, mas o dado ali pode ter sido sobrescrito por outra operação, causando comportamento impredizível, corrupção de dados ou execução de código arbitrário.

Example

Um buffer é alocado, depois liberado com free(). Mais adiante, o código ainda tenta ler ou escrever naquele mesmo ponteiro sem verificar. Se um atacante controlar a alocação subsequente daquele endereço, consegue manipular o conteúdo que será lido.

How to mitigate

Anule o ponteiro imediatamente após liberar (ptr = NULL), implemente análise estática para detectar acessos pós-liberação, use ferramentas como valgrind ou AddressSanitizer nos testes, e considere linguagens com gerenciamento automático de memória para código sensível.

CVE-2018-0170—A vulnerability in the Cisco Umbrella Integration feature of Cisco IOS XE Software could allow an unauthenticated, remote attacker to cause EPSS 2.7%CVE-2021-32944—A use-after-free issue exists in the DGN file-reading procedure in the Drawings SDK (All versions prior to 2022.4) resulting from the lack oEPSS 2.7%CVE-2023-36034HIGHMicrosoft Edge (Chromium-based) Remote Code Execution VulnerabilityEPSS 2.7%CVE-2018-14809—Fuji Electric V-Server 4.0.3.0 and prior, A use after free vulnerability has been identified, which may allow remote code execution.EPSS 2.7%CVE-2022-28823HIGHAdobe FrameMaker Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 2.7%CVE-2022-28824HIGHAdobe FrameMaker Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 2.7%CVE-2022-30655HIGHAdobe InCopy Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 2.7%CVE-2022-30657HIGHAdobe InCopy Font Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 2.7%CVE-2019-6772LOWThis vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 2019.010.20098. UseEPSS 2.7%CVE-2019-6771LOWThis vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 2019.010.20098. UseEPSS 2.7%CVE-2019-6766LOWThis vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.4.1.16828. User iEPSS 2.7%CVE-2019-6758LOWThis vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.4.16811. User intEPSS 2.7%CVE-2019-6770LOWThis vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.4.1.16828. User iEPSS 2.7%CVE-2018-9965—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.1049. User interactioEPSS 2.6%CVE-2018-9957—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.1049. User interactioEPSS 2.6%CVE-2018-9959—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.1049. User interactioEPSS 2.6%CVE-2018-9952—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.1049. User interactioEPSS 2.6%CVE-2018-9962—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.1049. User interactioEPSS 2.6%CVE-2018-9954—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.1049. User interactioEPSS 2.6%CVE-2018-9955—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.1049. User interactioEPSS 2.6%