Falhas do tipo CWE-401

664 resultados

Fuga de memória - liberação não realizada após uso

Ocorre quando o código aloca memória (heap ou recursos) mas falha em liberá-la quando não é mais necessária. A memória fica presa no processo, reduzindo gradualmente a memória disponível até causar degradação de performance ou crash. É especialmente crítico em serviços que rodam indefinidamente (daemons, APIs, servidores).

Exemplo

Um servidor web que processa requisições sem liberar buffers de conexão fechada. Após milhares de requisições, acumula KB/MB de lixo na memória. Ou uma função que abre arquivo/socket e retorna sem chamar close() em todos os caminhos possíveis (incluindo exceções).

Como mitigar

Use padrões como RAII (Resource Acquisition Is Initialization) em C++, try-finally ou context managers em Python/Java, ou verificadores de vazamento (valgrind, AddressSanitizer). Revise especialmente blocos de exceção e retornos prematuros. Testes de longa duração ajudam a detectar fugas acumulativas.

CVE-2026-56366MEDIUMImageMagick - Memory Leak in META Reader APP1JPEG Error PathEPSS 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-53367MEDIUMaccel/habanalabs: fix mem leak in capture user mappingsEPSS 0.2%CVE-2023-53353MEDIUMaccel/habanalabs: postpone mem_mgr IDR destruction to hpriv_release()EPSS 0.2%CVE-2026-20222HIGHCisco Secure Adaptive Security Appliance Software and Secure Firewall Threat Defense Software EIGRP Denial of Service VulnerabilityEPSS 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-15572MEDIUMwasm3 NewCodePage memory leakEPSS 0.2%CVE-2025-60361LOWradare2 v5.9.8 and before contains a memory leak in the function bochs_open.EPSS 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-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-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-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%