Falhas do tipo CWE-416

5.142 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-2026-58090HIGHUse-after-free in unix SOCK_STREAM message handlingEPSS 0.2%CVE-2023-53388HIGHdrm/mediatek: Clean dangling pointer on bind error pathEPSS 0.2%CVE-2024-56556HIGHbinder: fix node UAF in binder_add_freeze_work()EPSS 0.2%CVE-2025-0819HIGHMali GPU Kernel Driver allows access to already freed memoryEPSS 0.2%CVE-2026-84593MEDIUMA use after free issue was addressed with improved memory management. This issue is fixed in iOS 27 and iPadOS 27. An app may be able to cauEPSS 0.2%CVE-2025-39861HIGHBluetooth: vhci: Prevent use-after-free by removing debugfs files earlyEPSS 0.2%CVE-2026-49412HIGHUse-after-free bug in the IPV6_MSFILTER socket option handlerEPSS 0.2%CVE-2024-22180LOWCamera has a use after free vulnerabilityEPSS 0.2%CVE-2026-0465MEDIUMA Use‑After‑Free (UAF) vulnerability in the AMD Ryzen™ Master Utility Driver could allow a local attacker to access kernel memory, potentialEPSS 0.2%CVE-2025-13350HIGHUse-after-free of orphaned AF_UNIX in Ubuntu builds of Linux kernelEPSS 0.2%CVE-2025-20081LOWCommunication Dsoftbus has an UAF vulnerabilityEPSS 0.2%CVE-2025-39882HIGHdrm/mediatek: fix potential OF node use-after-freeEPSS 0.2%CVE-2025-0073HIGHMali GPU Kernel Driver allows improper GPU memory processing operationsEPSS 0.2%CVE-2026-87633HIGHUse after free in Views in Google Chrome prior to 153.0.8010.36 allowed a local attacker to execute arbitrary code outside the sandbox via UEPSS 0.2%CVE-2023-49142MEDIUMmultimedia audio has a UAF vulnerabilityEPSS 0.2%CVE-2023-5249HIGHMali GPU Kernel Driver allows improper GPU memory processing operationsEPSS 0.2%CVE-2023-53426HIGHxsk: Fix xsk_diag use-after-free error during socket cleanupEPSS 0.2%CVE-2025-39854HIGHice: fix NULL access of tx->in_use in ice_ll_ts_intrEPSS 0.2%CVE-2026-13282MEDIUMUse after free in Payments in Google Chrome on Android prior to 149.0.7827.201 allowed a local attacker to potentially exploit heap corruptiEPSS 0.2%CVE-2026-26203MEDIUMPJSIP's pjmedia-video has use-after-free in H264 packetizer when packetizing fragmented NALEPSS 0.1%