Weaknesses of type CWE-404

748 results

Liberação ou encerramento impróprio de recursos

Acontece quando a aplicação não libera adequadamente recursos (memória, conexões de banco de dados, arquivos abertos, sockets) após seu uso, deixando-os presos. Isso causa vazamento de recursos: a aplicação consome cada vez mais memória ou conexões até ficar indisponível ou travar.

Example

Um serviço web abre uma conexão com o banco de dados para cada requisição, mas em caso de erro não fecha a conexão no bloco finally ou com try-with-resources. Após milhares de requisições falhadas, o pool de conexões se esgota e novas requisições começam a falhar.

How to mitigate

Use try-with-resources (Java), context managers (Python), ou finally blocks para garantir liberação mesmo em caso de exceção. Implemente testes de carga e monitore vazamento de recursos em produção com ferramentas APM.

CVE-2017-20013LOWWEKA INTEREST Security Scanner Stresstest Configuration denial of serviceEPSS 0.3%CVE-2026-5313MEDIUMNothings stb GIF Decoder stb_image.h stbi__gif_load_next denial of serviceEPSS 0.3%CVE-2026-40136MEDIUMDenial of service (DoS) in SAP Financial ConsolidationEPSS 0.3%CVE-2022-3637LOWLinux Kernel BlueZ jlink.c jlink_init denial of serviceEPSS 0.3%CVE-2019-0042MEDIUMIncorrect messages from Juniper Identity Management Service (JIMS) can trigger Denial of Service or firewall bypass conditions for SRX series devicesEPSS 0.3%CVE-2026-108577MEDIUMKonstanty Bialkowski libmodplug ABC Music Format load_abc.cpp abc_add_gchord resource consumptionEPSS 0.3%CVE-2025-49490MEDIUMResource leaks in routerEPSS 0.3%CVE-2025-5072MEDIUMResource leaks in cmEPSS 0.3%CVE-2025-49489MEDIUMResource leaks in cmEPSS 0.3%CVE-2025-49481MEDIUMResource leaks in routerEPSS 0.3%CVE-2025-49491MEDIUMResource leaks in traffic_statEPSS 0.3%CVE-2025-49488MEDIUMResource leaks in routerEPSS 0.3%CVE-2025-3198MEDIUMGNU Binutils objdump bucomm.c display_info memory leakEPSS 0.3%CVE-2026-10705LOWdask HLL hyperloglog.py nunique_approx resource consumptionEPSS 0.3%CVE-2025-9396MEDIUMckolivas lrzip strtol_l.c __GI_____strtol_l_internal null pointer dereferenceEPSS 0.3%CVE-2024-2180MEDIUMZemana AntiLogger v2.74.204.664 - Kernel Memory LeakEPSS 0.3%CVE-2022-3544LOWLinux Kernel Netfilter sysfs.c damon_sysfs_add_target memory leakEPSS 0.3%CVE-2022-3543LOWLinux Kernel BPF af_unix.c unix_release_sock memory leakEPSS 0.3%CVE-2024-44201MEDIUMThe issue was addressed with improved memory handling. This issue is fixed in iOS 18.1 and iPadOS 18.1, iPadOS 17.7.3, macOS Sequoia 15.1, mEPSS 0.3%CVE-2026-90440HIGHApache Thrift: An exception escaping a libevent callback stops the D library's non-blocking server, allowing an unauthenticated remote attacker to deny serviceEPSS 0.3%