Weaknesses of type CWE-416

5,138 results

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). O ponteiro continua apontando para aquele endereço, mas o dado ali pode ter sido sobrescrito por outra operação, causando comportamento impredizível, corrupção de dados ou execução de código arbitrário.

Example

Um buffer é alocado, depois liberado com free(). Mais adiante, o código ainda tenta ler ou escrever naquele mesmo ponteiro sem verificar. Se um atacante controlar a alocação subsequente daquele endereço, consegue manipular o conteúdo que será lido.

How to mitigate

Anule o ponteiro imediatamente após liberar (ptr = NULL), implemente análise estática para detectar acessos pós-liberação, use ferramentas como valgrind ou AddressSanitizer nos testes, e considere linguagens com gerenciamento automático de memória para código sensível.

CVE-2021-42706HIGHAzeoTech DAQFactoryEPSS 0.3%CVE-2022-49349HIGHext4: fix use-after-free in ext4_rename_dir_prepareEPSS 0.3%CVE-2022-49700HIGHmm/slub: add missing TID updates on slab deactivationEPSS 0.3%CVE-2026-15774HIGHUse after free in Skia in Google Chrome prior to 150.0.7871.125 allowed a remote attacker who had compromised the renderer process to potentEPSS 0.3%CVE-2025-54105HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-49388HIGHubi: ubi_create_volume: Fix use-after-free when volume creation failedEPSS 0.3%CVE-2022-49695HIGHigb: fix a use-after-free issue in igb_clean_tx_ringEPSS 0.3%CVE-2025-54223HIGHInCopy | Use After Free (CWE-416)EPSS 0.3%CVE-2022-49413HIGHbfq: Update cgroup information before merging bioEPSS 0.3%CVE-2022-49667HIGHnet: bonding: fix use-after-free after 802.3ad slave unbindEPSS 0.3%CVE-2022-1973—A use-after-free flaw was found in the Linux kernel in log_replay in fs/ntfs3/fslog.c in the NTFS journal. This flaw allows a local attackerEPSS 0.3%CVE-2024-46740HIGHbinder: fix UAF caused by offsets overwriteEPSS 0.3%CVE-2022-49647HIGHcgroup: Use separate src/dst nodes when preloading css_sets for migrationEPSS 0.3%CVE-2025-53807HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2024-53239HIGHALSA: 6fire: Release resources at card releaseEPSS 0.3%CVE-2022-49411HIGHbfq: Make sure bfqg for which we are queueing requests is onlineEPSS 0.3%CVE-2022-1184—A use-after-free flaw was found in fs/ext4/namei.c:dx_insert_block() in the Linux kernel’s filesystem sub-component. This flaw allows a locaEPSS 0.3%CVE-2025-54108HIGHCapability Access Management Service (camsvc) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2022-49696HIGHtipc: fix use-after-free Read in tipc_named_reinitEPSS 0.3%CVE-2023-31974MEDIUMyasm v1.3.0 was discovered to contain a use after free via the function error at /nasm/nasm-pp.c. Note: Multiple third parties dispute this EPSS 0.3%