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-2025-22886LOWdistributeddatamgr_udmf has a memory leak vulnerabilityEPSS 0.1%CVE-2026-61865LOWImageMagick before 7.1.2-26 Memory Leak in Hough LinesEPSS 0.1%CVE-2026-61864LOWImageMagick before 7.1.2-26 Memory Leak in Log ColorspaceEPSS 0.1%CVE-2026-61869LOWImageMagick before 7.1.2-26 Memory Leak in MIFF EncoderEPSS 0.1%CVE-2026-61867LOWImageMagick before 7.1.2-26 Memory Leak in TIFF EncoderEPSS 0.1%CVE-2025-20011LOWCommunication Dsoftbus has a memory leak vulnerabilityEPSS 0.1%CVE-2023-53266MEDIUMarm64: acpi: Fix possible memory leak of ffh_ctxtEPSS 0.1%CVE-2022-50424MEDIUMwifi: mt76: mt7921: resource leaks at mt7921_check_offload_capability()EPSS 0.1%CVE-2026-47326MEDIUMMemory leak in Ubuntu Linux AppArmor large notification response allocationEPSS 0.1%CVE-2026-66011MEDIUMImageMagick before 7.1.2-27 Memory Leak via Invalid CLI OptionsEPSS 0.1%CVE-2025-20077MEDIUMMissing release of memory after effective lifetime in the UEFI OobRasMmbiHandlerDriver module for some Intel(R) reference server platforms mEPSS 0.1%CVE-2026-61872LOWImageMagick before 7.1.2-26 Memory Leak via TIFF EncoderEPSS 0.1%CVE-2025-39830MEDIUMnet/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error pathEPSS 0.1%CVE-2023-53303MEDIUMnet: microchip: vcap api: Fix possible memory leak for vcap_dup_rule()EPSS 0.1%CVE-2025-39893MEDIUMspi: spi-qpic-snand: unregister ECC engine on probe error and device removeEPSS 0.1%CVE-2025-39834MEDIUMnet/mlx5: HWS, Fix memory leak in hws_action_get_shared_stc_nic error flowEPSS 0.1%CVE-2023-53261MEDIUMcoresight: Fix memory leak in acpi_buffer->pointerEPSS 0.1%CVE-2023-53430MEDIUMwifi: mt76: dma: fix memory leak running mt76_dma_tx_cleanupEPSS 0.1%CVE-2025-61146MEDIUMsaitoha libsixel until v1.8.7 was discovered to contain a memory leak via the component malloc_stub.c.EPSS 0.1%CVE-2025-27562LOWcommunication_dsoftbus has a missing release of memory vulnerabilityEPSS 0.1%