Falhas do tipo CWE-416

5.043 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-2022-0849HIGHUse After Free in r_reg_get_name_idx in radareorg/radare2EPSS 0.7%CVE-2024-44285HIGHA use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 18.1 and iPadOS 18.1, macOS Sequoia 15.1, tEPSS 0.7%CVE-2024-6291HIGHUse after free in Swiftshader in Google Chrome prior to 126.0.6478.126 allowed a remote attacker to potentially exploit heap corruption via EPSS 0.7%CVE-2025-47164HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-62553HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-49695HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-31972MEDIUMsamtools mpileup has use-after-free leading to an invalid readEPSS 0.7%CVE-2025-14424HIGHGIMP XCF File Parsing Use-After-Free Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-44422HIGHFreeRDP RDPEAR NDR ref-id aliasing causes client-side UAF/double-free and type confusionEPSS 0.7%CVE-2023-32541HIGHA use-after-free vulnerability exists in the footerr functionality of Hancom Office 2020 HWord 11.0.0.7520. A specially crafted .doc file caEPSS 0.7%CVE-2024-38612HIGHipv6: sr: fix invalid unregister error pathEPSS 0.7%CVE-2022-3306HIGHUse after free in survey in Google Chrome on ChromeOS prior to 106.0.5249.62 allowed a remote attacker to potentially exploit heap corruptioEPSS 0.7%CVE-2019-15213MEDIUMAn issue was discovered in the Linux kernel before 5.2.3. There is a use-after-free caused by a malicious USB device in the drivers/media/usEPSS 0.7%CVE-2022-49362CRITICALNFSD: Fix potential use-after-free in nfsd_file_put()EPSS 0.7%CVE-2025-31239MEDIUMA use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 18.5 and iPadOS 18.5, iPadOS 17.7.7, macOS EPSS 0.7%CVE-2022-43033MEDIUMAn issue was discovered in Bento4 1.6.0-639. There is a bad free in the component AP4_HdlrAtom::~AP4_HdlrAtom() which allows attackers to caEPSS 0.7%CVE-2022-46880MEDIUMA missing check related to tex units could have led to a use-after-free and potentially exploitable crash.<br />*Note*: This advisory was adEPSS 0.7%CVE-2023-0461HIGHUse-after-free vulnerability in the Linux KernelEPSS 0.7%CVE-2026-69474MEDIUMWindows Overlay Filter Information Disclosure VulnerabilityEPSS 0.7%CVE-2026-24678HIGHFreeRDP has a Heap-use-after-free in cam_v4l_stream_capture_threadEPSS 0.7%