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-2022-49410HIGHtracing: Fix potential double free in create_var_ref()EPSS 0.3%CVE-2026-55653MEDIUMOpenssh: double free in red hat enterprise linux versions of openssh dh-gex client path during fips known-group validation leads to client-side denial of serviceEPSS 0.3%CVE-2026-82677MEDIUMvalkey-io valkey Module Timer module.c moduleTimerHandler double freeEPSS 0.3%CVE-2022-49530HIGHdrm/amd/pm: fix double free in si_parse_power_table()EPSS 0.3%CVE-2026-33995MEDIUMFreeRDP: Possible double free in kerberos_AcceptSecurityContextEPSS 0.3%CVE-2023-52930HIGHdrm/i915: Fix potential bit_17 double-freeEPSS 0.3%CVE-2026-87585HIGHDouble free in PDFium in Google Chrome on on Windows prior to 153.0.8010.36 allowed a remote attacker to potentially execute arbitrary code EPSS 0.3%CVE-2022-49455HIGHmisc: ocxl: fix possible double free in ocxl_file_register_afuEPSS 0.3%CVE-2022-31614HIGHNVIDIA vGPU software contains a vulnerability in the Virtual GPU Manager (vGPU plugin) where it may double-free some resources. An attacker EPSS 0.3%CVE-2022-49384HIGHmd: fix double free of io_acct_set biosetEPSS 0.3%CVE-2023-1032MEDIUMThe Linux kernel io_uring IORING_OP_SOCKET operation contained a double free in function __sys_socket_file() in file net/socket.c. This issuEPSS 0.3%CVE-2025-2925MEDIUMHDF5 H5MM.c H5MM_realloc double freeEPSS 0.3%CVE-2026-75159HIGHMongoDB BI Connector Improper Memory Handling During Failed Kerberos Authentication May Cause Process TerminationEPSS 0.3%CVE-2026-85921HIGHWindows Secure Kernel Mode Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2021-47638HIGHubifs: rename_whiteout: Fix double free for whiteout_ui->dataEPSS 0.3%CVE-2022-49290HIGHmac80211: fix potential double free on mesh joinEPSS 0.3%CVE-2026-61915MEDIUMAn issue was discovered in Cyrus IMAP before 3.12.4. There is a VPATCH BYPARAM double-free. An authenticated calendar user could crash a CyrEPSS 0.3%CVE-2024-58055HIGHusb: gadget: f_tcm: Don't free command immediatelyEPSS 0.3%CVE-2026-32074HIGHWindows Projected File System Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-71338MEDIUMWindows Failover Cluster Elevation of Privilege VulnerabilityEPSS 0.3%