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-2023-53028HIGHRevert "wifi: mac80211: fix memory leak in ieee80211_if_add()"EPSS 0.2%CVE-2023-53346MEDIUMkernel/fail_function: fix memory leak with using debugfs_lookup()EPSS 0.2%CVE-2023-53349MEDIUMmedia: ov2740: Fix memleak in ov2740_init_controls()EPSS 0.2%CVE-2026-33775HIGHJunos OS: MX Series: Mismatch between configured and received packet types causes memory leak in bbe-smgdEPSS 0.2%CVE-2025-21981MEDIUMice: fix memory leak in aRFS after resetEPSS 0.2%CVE-2022-49881MEDIUMwifi: cfg80211: fix memory leak in query_regdb_file()EPSS 0.2%CVE-2026-78124LOWstrongSwan 5.0.2 through 6.0.7 allows PKCS#7 certificate enumeration in the openssl plugin that leads to a lack of release of memory after iEPSS 0.2%CVE-2022-49857MEDIUMnet: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()EPSS 0.2%CVE-2026-7379MEDIUMMissing Release of Memory after Effective Lifetime in WiresharkEPSS 0.2%CVE-2022-49891MEDIUMtracing: kprobe: Fix memory leak in test_gen_kprobe/kretprobe_cmd()EPSS 0.2%CVE-2022-49867MEDIUMnet: wwan: iosm: fix memory leak in ipc_wwan_dellinkEPSS 0.2%CVE-2022-49860MEDIUMdmaengine: ti: k3-udma-glue: fix memory leak when register device failEPSS 0.2%CVE-2022-49866MEDIUMnet: wwan: mhi: fix memory leak in mhi_mbim_dellinkEPSS 0.2%CVE-2022-49902MEDIUMblock: Fix possible memory leak for rq_wb on add_disk failureEPSS 0.2%CVE-2022-49878MEDIUMbpf, verifier: Fix memory leak in array reallocation for stack stateEPSS 0.2%CVE-2022-49906MEDIUMibmvnic: Free rwi on reset successEPSS 0.2%CVE-2022-49746MEDIUMdmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_initEPSS 0.2%CVE-2022-49908MEDIUMBluetooth: L2CAP: Fix memory leak in vhci_writeEPSS 0.2%CVE-2022-49855MEDIUMnet: wwan: iosm: fix memory leak in ipc_pcie_read_bios_cfgEPSS 0.2%CVE-2026-61870LOWImageMagick before 7.1.2-26 Memory Leak via VIFF EncoderEPSS 0.2%