Falhas do tipo CWE-416

5.042 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-2022-4283HIGHA vulnerability was found in X.Org. This security flaw occurs because the XkbCopyNames function left a dangling pointer to freed memory, resEPSS 1.0%CVE-2022-1031HIGHUse After Free in op_is_set_bp in radareorg/radare2EPSS 1.0%CVE-2024-49079HIGHInput Method Editor (IME) Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-78523MEDIUMWindows DNS Server Denial of Service VulnerabilityEPSS 1.0%CVE-2022-34484HIGHThe Mozilla Fuzzing Team reported potential vulnerabilities present in Thunderbird 91.10. Some of these bugs showed evidence of memory corruEPSS 1.0%CVE-2023-20027HIGHCisco IOS XE Software Virtual Fragmentation Reassembly Denial of Service VulnerabilityEPSS 1.0%CVE-2024-3914HIGHUse after free in V8 in Google Chrome prior to 124.0.6367.60 allowed a remote attacker to potentially exploit heap corruption via a crafted EPSS 1.0%CVE-2024-40782CRITICALA use-after-free issue was addressed with improved memory management. This issue is fixed in Safari 17.6, iOS 16.7.9 and iPadOS 16.7.9, iOS EPSS 1.0%CVE-2022-2982HIGHUse After Free in vim/vimEPSS 1.0%CVE-2023-36583HIGHMicrosoft Message Queuing (MSMQ) Remote Code Execution VulnerabilityEPSS 1.0%CVE-2023-25360HIGHA use-after-free vulnerability in WebCore::RenderLayer::renderer in WebKitGTK before 2.36.8 allows attackers to execute code remotely.EPSS 1.0%CVE-2026-62815CRITICALMicrosoft QUIC Remote Code Execution VulnerabilityEPSS 1.0%CVE-2025-49677HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 1.0%CVE-2026-69579CRITICALWindows Message Queuing Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-72979CRITICALWindows DHCP Server Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-69730CRITICALWindows DNS Server Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-69525CRITICALRemote Desktop Services Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-62893CRITICALWindows Deployment Services TFTP Server Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-45657CRITICALWindows Kernel Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-78445CRITICALWindows Services for NFS ONCRPC XDR Driver Remote Code Execution VulnerabilityEPSS 1.0%