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-2026-56366MEDIUMImageMagick - Memory Leak in META Reader APP1JPEG Error PathEPSS 0.2%CVE-2023-53367MEDIUMaccel/habanalabs: fix mem leak in capture user mappingsEPSS 0.2%CVE-2026-20222HIGHCisco Secure Adaptive Security Appliance Software and Secure Firewall Threat Defense Software EIGRP Denial of Service VulnerabilityEPSS 0.2%CVE-2025-60360MEDIUMradare2 v5.9.8 and before contains a memory leak in the function r2r_subprocess_init.EPSS 0.2%CVE-2025-60359MEDIUMradare2 v5.9.8 and before contains a memory leak in the function r_bin_object_new.EPSS 0.2%CVE-2023-53353MEDIUMaccel/habanalabs: postpone mem_mgr IDR destruction to hpriv_release()EPSS 0.2%CVE-2023-44193MEDIUMJunos OS: MX Series: An FPC crash is observed when CFM is enabled in a VPLS scenario and a specific LDP related command is runEPSS 0.2%CVE-2025-60361LOWradare2 v5.9.8 and before contains a memory leak in the function bochs_open.EPSS 0.2%CVE-2025-15572MEDIUMwasm3 NewCodePage memory leakEPSS 0.2%CVE-2022-49901MEDIUMblk-mq: Fix kmemleak in blk_mq_init_allocated_queueEPSS 0.2%CVE-2023-53225MEDIUMspi: imx: Don't skip cleanup in remove's error pathEPSS 0.2%CVE-2026-45682MEDIUMOpenTelemetry eBPF Instrumentation: CappedConcurrentHashMap leaks keys after removalsEPSS 0.2%CVE-2026-9572MEDIUMGPAC MP4Box media.c Media_GetSample memory leakEPSS 0.2%CVE-2022-50349MEDIUMmisc: tifm: fix possible memory leak in tifm_7xx1_switch_media()EPSS 0.2%CVE-2023-53276MEDIUMubifs: Free memory for tmpfile nameEPSS 0.2%CVE-2025-64329MEDIUMcontainerd CRI server: Host memory exhaustion through Attach goroutine leakEPSS 0.2%CVE-2022-50343MEDIUMrapidio: fix possible name leaks when rio_add_device() failsEPSS 0.2%CVE-2025-60358MEDIUMradare2 v.5.9.8 and before contains a memory leak in the function _load_relocations.EPSS 0.2%CVE-2023-53018MEDIUMBluetooth: hci_conn: Fix memory leaksEPSS 0.2%CVE-2022-50404MEDIUMfbdev: fbcon: release buffer when fbcon_do_set_font() failedEPSS 0.2%