Falhas do tipo CWE-415

453 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-2026-11893MEDIUMDouble free / use-after-free in Bouffalo Lab HCI driver send() error paths (hci_bflb)EPSS 0.2%CVE-2023-7256MEDIUMDouble-free in libpcap before 1.10.5 with remote packet capture support.EPSS 0.2%CVE-2024-50235HIGHwifi: cfg80211: clear wdev->cqm_config pointer on freeEPSS 0.2%CVE-2026-26166HIGHWindows Shell Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2024-53191HIGHwifi: ath12k: fix warning when unbindingEPSS 0.2%CVE-2026-110599MEDIUML-SMASH through 2.14.5 Double Free in HEVC and H.264 Importer ProbeEPSS 0.2%CVE-2024-56704HIGH9p/xen: fix release of IRQEPSS 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-2026-107886LOWOpenPrinting CUPS before 2.4.20 contains a double-free in printer-class management. When CUPS-Add-Modify-Class replaces an existing class meEPSS 0.2%CVE-2022-49203HIGHdrm/amd/display: Fix double free during GPU reset on DC streamsEPSS 0.2%CVE-2026-14604MEDIUMOpen Asset Import Library Assimp PLY Model PlyLoader.cpp ExportToBlob double freeEPSS 0.2%CVE-2026-17050MEDIUMDouble free of the USB host configuration descriptor when device enumeration failsEPSS 0.2%CVE-2026-43622HIGHllama.cpp b1886–b7445 Double Free via llama-android.cppEPSS 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-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-8058MEDIUMThe regcomp function in the GNU C library version from 2.4 to 2.41 is subject to a double free if some previous allocation fails. It can beEPSS 0.2%CVE-2024-26846MEDIUMnvme-fc: do not wait in vain when unloading moduleEPSS 0.2%CVE-2025-71238—scsi: qla2xxx: Fix bsg_done() causing double freeEPSS 0.2%