Falhas do tipo CWE-415

362 resultados

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). Após a liberação, aquele endereço pode ser reutilizado pelo sistema ou conter lixo, causando comportamento imprevisível, corrupção de dados ou execução de código arbitrário.

Exemplo

Um ponteiro é liberado com free() e depois o código tenta ler ou escrever nele novamente — por exemplo, chamar um método em um objeto deletado em C++, ou acessar um array após liberar sua memória. Um atacante pode explorar isso alocando novamente aquele espaço com dados maliciosos.

Como mitigar

Use linguagens com garbage collection ou gerenciamento automático de memória (Python, Java, Go). Em C/C++, implemente validação rigorosa de ponteiros, use smart pointers (unique_ptr, shared_ptr), defina ponteiros como nullptr após liberar, e revise fluxos de desalocação em código crítico com ferramentas como AddressSanitizer e Valgrind.

CVE-2024-56704HIGH9p/xen: fix release of IRQEPSS 0.2%CVE-2023-7256MEDIUMDouble-free in libpcap before 1.10.5 with remote packet capture support.EPSS 0.2%CVE-2024-53191HIGHwifi: ath12k: fix warning when unbindingEPSS 0.2%CVE-2025-62219HIGHMicrosoft Wireless Provisioning System Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2025-59289HIGHWindows Bluetooth Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2022-50419HIGHBluetooth: hci_sysfs: Fix attempting to call device_add multiple timesEPSS 0.2%CVE-2022-49203HIGHdrm/amd/display: Fix double free during GPU reset on DC streamsEPSS 0.2%CVE-2024-53213HIGHnet: usb: lan78xx: Fix double free issue with interrupt buffer allocationEPSS 0.2%CVE-2022-32962MEDIUMHiCOS’ client-side citizen digital certificate - Double FreeEPSS 0.2%CVE-2024-26846MEDIUMnvme-fc: do not wait in vain when unloading moduleEPSS 0.2%CVE-2024-26932HIGHusb: typec: tcpm: fix double-free issue in tcpm_port_unregister_pd()EPSS 0.2%CVE-2022-3238HIGHA double-free flaw was found in the Linux kernel’s NTFS3 subsystem in how a user triggers remount and umount simultaneously. This flaw allowEPSS 0.2%CVE-2025-8585MEDIUMlibav DSS File Demuxer avconv.c main double freeEPSS 0.2%CVE-2022-43454HIGHA double free issue was addressed with improved memory management. This issue is fixed in macOS Ventura 13.1, watchOS 9.2, iOS 16.2 and iPadEPSS 0.2%CVE-2026-5657MEDIUMDouble Free in WiresharkEPSS 0.2%CVE-2024-56775HIGHdrm/amd/display: Fix handling of plane refcountEPSS 0.2%CVE-2026-69292HIGHRemote Desktop Gateway Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-71353HIGHWindows Routing and Remote Access Service (RRAS) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2024-53133HIGHdrm/amd/display: Handle dml allocation failure to avoid crashEPSS 0.2%CVE-2022-40683HIGHA double free in Fortinet FortiWeb version 7.0.0 through 7.0.3 may allows attacker to execute unauthorized code or commands via specially crEPSS 0.2%