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-2026-45752MEDIUMSuricata detect/transform: use-after-free in decompress transformsEPSS 0.5%CVE-2023-46769—Use-After-Free (UAF) vulnerability in the dubai module. Successful exploitation of this vulnerability will affect availability.EPSS 0.5%CVE-2023-46768—Multi-thread vulnerability in the idmap module. Successful exploitation of this vulnerability may cause features to perform abnormally.EPSS 0.5%CVE-2023-36605HIGHWindows Named Pipe Filesystem Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2025-70968CRITICALFreeImage 3.18.0 contains a Use After Free in PluginTARGA.cpp;loadRLE().EPSS 0.5%CVE-2026-90794MEDIUMGPAC MP4Box vrml_tools.c gf_sg_script_load use after freeEPSS 0.5%CVE-2025-62203HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-90791MEDIUMGPAC MP4Box base_scenegraph.c gf_node_unregister use after freeEPSS 0.5%CVE-2026-91089MEDIUMGPAC base_scenegraph.c gf_node_get_name_and_id use after freeEPSS 0.5%CVE-2020-25671—A vulnerability was found in Linux Kernel, where a refcount leak in llcp_sock_connect() causing use-after-free which might lead to privilegeEPSS 0.5%CVE-2026-90687MEDIUMGPAC MP4Box base_scenegraph.c gf_node_changed_internal use after freeEPSS 0.5%CVE-2023-5535HIGHUse After Free in vim/vimEPSS 0.5%CVE-2026-56648HIGHWindows NFS Server Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-50379HIGHWindows Media Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-58531HIGHWindows SMB Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2025-11708CRITICALUse-after-free in MediaTrackGraphImpl::GetInstance()EPSS 0.5%CVE-2022-34243HIGHAdobe Photoshop U3D File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-24677HIGHFreeRDP has a heap-buffer-overflow in ecam_encoder_compress_h264EPSS 0.5%CVE-2026-28857MEDIUMThe issue was addressed with improved memory handling. This issue is fixed in Safari 26.4, iOS 26.4 and iPadOS 26.4, macOS Tahoe 26.4, visioEPSS 0.5%CVE-2023-3776HIGHUse-after-free in Linux kernel's net/sched: cls_fw componentEPSS 0.5%