Falhas do tipo CWE-416

5.134 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-2024-22920HIGHswftools 0.9.2 was discovered to contain a heap-use-after-free via the function bufferWriteData in swftools/lib/action/compile.c.EPSS 0.3%CVE-2025-54225HIGHInDesign Desktop | Use After Free (CWE-416)EPSS 0.3%CVE-2025-54224HIGHInDesign Desktop | Use After Free (CWE-416)EPSS 0.3%CVE-2023-52975HIGHscsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddressEPSS 0.3%CVE-2026-25167HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2024-6064MEDIUMGPAC MP4Box loader_xmt.c xmt_node_end use after freeEPSS 0.3%CVE-2025-54226HIGHInDesign Desktop | Use After Free (CWE-416)EPSS 0.3%CVE-2026-20861HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-20858HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2025-49665HIGHWorkspace Broker Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-20830HIGHCapability Access Management Service (camsvc) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-49385HIGHdriver: base: fix UAF when driver_attach failedEPSS 0.3%CVE-2026-20873HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-20874HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-20867HIGHWindows Management Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-44519MEDIUMAcrobat Reader | Use After Free (CWE-416)EPSS 0.3%CVE-2025-21703HIGHnetem: Update sch->q.qlen before qdisc_tree_reduce_backlog()EPSS 0.3%CVE-2023-52922HIGHcan: bcm: Fix UAF in bcm_proc_show()EPSS 0.3%CVE-2022-49238HIGHath11k: free peer for station when disconnect from AP for QCA6390/WCN6855EPSS 0.3%CVE-2022-43652LOWBentley View SKP File Parsing Use-After-Free Information Disclosure VulnerabilityEPSS 0.3%