Weaknesses of type CWE-415

364 results

Uso após liberação de memória

Ocorre quando o código tenta acessar ou manipular um bloco de memória após ele ter sido liberado (freed). O programa perde o controle sobre esse espaço, que pode ser reatribuído a outra estrutura de dados, causando corrupção de memória, travamentos ou execução arbitrária de código.

Example

Um buffer é alocado com malloc(), um ponteiro guarda seu endereço, o buffer é liberado com free(), mas o código continua usando o ponteiro para ler ou escrever dados. Um atacante pode alocar uma estrutura crítica no mesmo endereço e fazer o programa sobrescrever dados sensíveis ou ganhar controle de execução.

How to mitigate

Após liberar memória (free, delete), sempre anule o ponteiro (ptr = NULL) ou use linguagens com gerenciamento automático. Em C/C++, implemente verificações de validade ou use ferramentas como AddressSanitizer durante testes. Prefira smart pointers (unique_ptr, shared_ptr) em C++ moderno.

CVE-2023-4389HIGHKernel: btrfs: double free in btrfs_get_root_ref()EPSS 0.3%CVE-2024-56708HIGHEDAC/igen6: Avoid segmentation fault on module unloadEPSS 0.3%CVE-2025-62469HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2022-49391HIGHremoteproc: mtk_scp: Fix a potential double freeEPSS 0.2%CVE-2026-11894MEDIUMDouble-free / use-after-free in Realtek BEE Bluetooth HCI driver `send()` error pathsEPSS 0.2%CVE-2025-49690HIGHCapability Access Management Service (camsvc) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-11893MEDIUMDouble free / use-after-free in Bouffalo Lab HCI driver send() error paths (hci_bflb)EPSS 0.2%CVE-2024-50235HIGHwifi: cfg80211: clear wdev->cqm_config pointer on freeEPSS 0.2%CVE-2025-23095MEDIUMAn issue was discovered in Samsung Mobile Processor Exynos 1280, 2200, 1380, 1480, 2400. A Double Free in the mobile processor leads to privEPSS 0.2%CVE-2025-23096MEDIUMAn issue was discovered in Samsung Mobile Processor Exynos 1280, 2200, 1380, 1480, 2400. A Double Free in the mobile processor leads to privEPSS 0.2%CVE-2023-7256MEDIUMDouble-free in libpcap before 1.10.5 with remote packet capture support.EPSS 0.2%CVE-2024-56704HIGH9p/xen: fix release of IRQEPSS 0.2%CVE-2026-91018HIGHDouble Free in lwIP (lightweight IP)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-2026-35188MEDIUMDouble-free When Checking OCSP Stapled ResponseEPSS 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%