Fallos del tipo CWE-401

664 resultados

Vazamento de memória por falta de liberação

Ocorre quando o código aloca memória (heap, buffer ou outros recursos) mas nunca a libera adequadamente, mesmo após seu uso terminar. A memória fica presa e indisponível, consumindo recursos até o programa encerrar ou falhar. É especialmente crítico em serviços de longa execução (daemons, servidores) onde o vazamento se acumula.

Ejemplo

Um servidor web que cria um objeto para processar cada requisição, mas esquece de desalocá-lo no final do tratamento. Após milhares de requisições, a memória disponível se esgota e o serviço cai. Ou código em C que chama malloc() mas nunca free(), deixando a memória órfã.

Cómo mitigar

Use garbage collection ou linguagens gerenciadas quando possível; em C/C++, aplique padrões como RAII (Resource Acquisition Is Initialization) ou smart pointers; faça code review focado em pares alloc/free; use ferramentas como Valgrind ou AddressSanitizer para detectar vazamentos antes da produção.

CVE-2024-56755MEDIUMnetfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATINGEPSS 0.2%CVE-2024-58063MEDIUMwifi: rtlwifi: fix memory leaks and invalid access at probe error pathEPSS 0.2%CVE-2025-7068MEDIUMHDF5 H5FL.c H5FL__malloc memory leakEPSS 0.2%CVE-2026-1757MEDIUMLibxml2: memory leak leading to local denial of service in xmllint interactive shellEPSS 0.2%CVE-2024-53117MEDIUMvirtio/vsock: Improve MSG_ZEROCOPY error handlingEPSS 0.2%CVE-2024-53118MEDIUMvsock: Fix sk_error_queue memory leakEPSS 0.2%CVE-2023-52937MEDIUMHV: hv_balloon: fix memory leak with using debugfs_lookup()EPSS 0.2%CVE-2024-50214MEDIUMdrm/connector: hdmi: Fix memory leak in drm_display_mode_from_cea_vic()EPSS 0.2%CVE-2026-20021MEDIUMA vulnerability in the OSPF protocol of Cisco Secure Firewall Adaptive Security Appliance (ASA) Software and Cisco Secure Firewall Threat DeEPSS 0.2%CVE-2024-56613MEDIUMsched/numa: fix memory leak due to the overwritten vma->numab_stateEPSS 0.2%CVE-2022-22240MEDIUMJunos OS and Junos OS Evolved: An rpd memory leak might be observed while running a specific cli command in a RIB sharding scenarioEPSS 0.2%CVE-2024-50213MEDIUMdrm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic()EPSS 0.2%CVE-2022-49757MEDIUMEDAC/highbank: Fix memory leak in highbank_mc_probe()EPSS 0.2%CVE-2022-50357MEDIUMusb: dwc3: core: fix some leaks in probeEPSS 0.2%CVE-2024-50165HIGHbpf: Preserve param->string when parsing mount optionsEPSS 0.2%CVE-2022-49915MEDIUMmISDN: fix possible memory leak in mISDN_register_device()EPSS 0.2%CVE-2022-49927MEDIUMnfs4: Fix kmemleak when allocate slot failedEPSS 0.2%CVE-2025-20135MEDIUMCisco Adaptive Security Appliance and Firepower Threat Defense Software DHCP Denial of Service VulnerabilityEPSS 0.2%CVE-2024-56729MEDIUMsmb: Initialize cfid->tcon before performing network opsEPSS 0.2%CVE-2026-14696MEDIUMEthernet bridge RX packet leak enables denial of service via RX buffer-pool exhaustionEPSS 0.2%