Weaknesses of type CWE-416

5,110 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-2025-58737HIGHRemote Desktop Protocol Remote Code Execution VulnerabilityEPSS 0.4%CVE-2024-55549HIGHxsltGetInheritedNsList in libxslt before 1.1.43 has a use-after-free issue related to exclusion of result prefixes.EPSS 0.4%CVE-2025-24855HIGHnumbers.c in libxslt before 1.1.43 has a use-after-free because, in nested XPath evaluations, an XPath context node can be modified but neveEPSS 0.4%CVE-2026-10923HIGHUse after free in WebAppInstalls in Google Chrome on Android prior to 149.0.7827.53 allowed a local attacker to execute arbitrary code via aEPSS 0.4%CVE-2025-58730HIGHInbox COM Objects (Global Memory) Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-58733HIGHInbox COM Objects (Global Memory) Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-58738HIGHInbox COM Objects (Global Memory) Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-58734HIGHInbox COM Objects (Global Memory) Remote Code Execution VulnerabilityEPSS 0.4%CVE-2026-50312MEDIUMWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2024-22956HIGHswftools 0.9.2 was discovered to contain a heap-use-after-free vulnerability via the function removeFromTo at swftools/src/swfc.c:838EPSS 0.4%CVE-2026-49167MEDIUMWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2026-11791MEDIUM389-ds-base: 389-ds-base: use-after-free in schema reload via attr_syntax_swap_ht()EPSS 0.4%CVE-2025-58731HIGHInbox COM Objects (Global Memory) Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-58736HIGHInbox COM Objects (Global Memory) Remote Code Execution VulnerabilityEPSS 0.4%CVE-2021-34968HIGHFoxit PDF Editor transitionToState Use-After-Free Remote Code Execution VulnerabilityEPSS 0.3%CVE-2021-34954HIGHFoxit PDF Editor StrikeOut Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 0.3%CVE-2021-34962HIGHFoxit PDF Editor Caret Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 0.3%CVE-2025-22004HIGHnet: atm: fix use after free in lec_send()EPSS 0.3%CVE-2024-12548LOWTungsten Automation Power PDF JP2 File Parsing Use-After-Free Information Disclosure VulnerabilityEPSS 0.3%CVE-2021-34955HIGHFoxit PDF Editor Stamp Annotation Use-After-Free Remote Code Execution VulnerabilityEPSS 0.3%