Falhas do tipo CWE-416

5.138 resultados

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

Ocorre quando o código tenta acessar (ler ou escrever) um bloco de memória que já foi liberado (free, delete). O programa mantém um ponteiro para a memória, mas o sistema operacional pode reatribuir essa região para outro uso, causando corrupção de dados, travamento ou execução de código arbitrário.

Exemplo

Um servidor web aloca memória para armazenar dados de sessão do usuário, depois libera essa memória quando a sessão encerra. Se uma thread continuar tentando acessar essa sessão após a liberação, pode ler dados de outra sessão ou sobrescrever dados críticos de outro processo.

Como mitigar

Sempre anule ponteiros após liberar memória (ptr = NULL), use variáveis de controle para rastrear estado de alocação, implemente gerenciamento automático de memória quando possível (smart pointers em C++), e execute testes com sanitizers (AddressSanitizer, Valgrind) durante desenvolvimento e CI/CD.

CVE-2025-21700HIGHnet: sched: Disallow replacing of child qdisc from one parent to anotherEPSS 0.2%CVE-2026-10639MEDIUMUse-after-free reading `net_pkt_iface()` of a sent ICMPv4 echo-reply packet in `icmpv4_handle_echo_request()`EPSS 0.2%CVE-2025-21786HIGHworkqueue: Put the pwq after detaching the rescuer from the poolEPSS 0.2%CVE-2024-53232HIGHiommu/s390: Implement blocking domainEPSS 0.2%CVE-2022-49755HIGHusb: gadget: f_fs: Prevent race during ffs_ep0_queue_waitEPSS 0.2%CVE-2023-1855MEDIUMA use-after-free flaw was found in xgene_hwmon_remove in drivers/hwmon/xgene-hwmon.c in the Hardware Monitoring Linux Kernel Driver (xgene-hEPSS 0.2%CVE-2026-22040MEDIUMNanoMQ 0.24.6 Use-After-Free Leading to Heap Corruption and Broker CrashEPSS 0.2%CVE-2026-11642HIGHUse after free in Web Apps in Google Chrome prior to 149.0.7827.103 allowed a remote attacker who had compromised the renderer process to poEPSS 0.2%CVE-2023-52921HIGHdrm/amdgpu: fix possible UAF in amdgpu_cs_pass1()EPSS 0.2%CVE-2023-4133MEDIUMKernel: cxgb4: use-after-free in ch_flower_stats_cb()EPSS 0.2%CVE-2025-61834HIGHSubstance3D - Stager | Use After Free (CWE-416)EPSS 0.2%CVE-2021-46973HIGHnet: qrtr: Avoid potential use after free in MHI sendEPSS 0.2%CVE-2025-61817HIGHInCopy | Use After Free (CWE-416)EPSS 0.2%CVE-2024-50274HIGHidpf: avoid vport access in idpf_get_link_ksettingsEPSS 0.2%CVE-2026-32724MEDIUMPX4 autopilot has a heap Use-After-Free in MavlinkShell::available() via SERIAL_CONTROL Race ConditionEPSS 0.2%CVE-2025-6119MEDIUMOpen Asset Import Library Assimp BVHLoader.cpp ReadNodeChannels use after freeEPSS 0.2%CVE-2025-61818HIGHInCopy | Use After Free (CWE-416)EPSS 0.2%CVE-2026-56373MEDIUMImageMagick - Use-After-Free Write in PDB DecoderEPSS 0.2%CVE-2025-21731HIGHnbd: don't allow reconnect after disconnectEPSS 0.2%CVE-2024-50126HIGHnet: sched: use RCU read-side critical section in taprio_dump()EPSS 0.2%