Weaknesses of type CWE-416

5,043 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-2024-38171HIGHMicrosoft PowerPoint Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-28744HIGHA use-after-free vulnerability exists in the JavaScript engine of Foxit Software's PDF Reader, version 12.1.1.15289. A specially crafted PDFEPSS 0.9%CVE-2023-33866HIGHA use-after-free vulnerability exists in the JavaScript engine of Foxit Software’s PDF Reader, version 12.1.2.15332. By prematurely deletingEPSS 0.9%CVE-2024-30326HIGHFoxit PDF Reader Doc Object Use-After-Free Remote Code Execution VulnerabilityEPSS 0.9%CVE-2022-46882CRITICALA use-after-free in WebGL extensions could have led to a potentially exploitable crash. This vulnerability affects Firefox < 107, Firefox ESEPSS 0.9%CVE-2024-47834MEDIUMGHSL-2024-280: Gstreamer Use-After-Free read in Matroska CodecPrivateEPSS 0.9%CVE-2022-1071HIGHUser after free in mrb_vm_exec in mruby/mrubyEPSS 0.9%CVE-2022-2859HIGHUse after free in Chrome OS Shell in Google Chrome prior to 104.0.5112.101 allowed a remote attacker who convinced a user to engage in speciEPSS 0.9%CVE-2023-2931HIGHUse after free in PDF in Google Chrome prior to 114.0.5735.90 allowed a remote attacker to potentially exploit heap corruption via a craftedEPSS 0.9%CVE-2023-2933HIGHUse after free in PDF in Google Chrome prior to 114.0.5735.90 allowed a remote attacker to potentially exploit heap corruption via a craftedEPSS 0.9%CVE-2024-20952HIGHVulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: SecuritEPSS 0.9%CVE-2022-1097MEDIUM<code>NSSToken</code> objects were referenced via direct points, and could have been accessed in an unsafe way on different threads, leadingEPSS 0.9%CVE-2023-4004HIGHKernel: netfilter: use-after-free due to improper element removal in nft_pipapo_remove()EPSS 0.9%CVE-2025-26623MEDIUMUse After Free in Exiv2EPSS 0.9%CVE-2025-21379HIGHDHCP Client Service Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-21734HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-3390HIGHUse-after-free in Linux kernel's netfilter subsystemEPSS 0.9%CVE-2024-30328HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.9%CVE-2024-30322HIGHFoxit PDF Reader AcroForm Use-After-Free Remote Code Execution VulnerabilityEPSS 0.9%CVE-2024-30333HIGHFoxit PDF Reader Doc Object Use-After-Free Remote Code Execution VulnerabilityEPSS 0.9%