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-2026-3392MEDIUMFascinatedBox lily lily_emitter.c eval_tree null pointer dereferenceEPSS 0.2%CVE-2025-3010MEDIUMKhronos Group glslang Intermediate.cpp isConversionAllowed null pointer dereferenceEPSS 0.2%CVE-2026-3385MEDIUMwren-lang wren wren_compiler.c resolveLocal recursionEPSS 0.2%CVE-2026-3388MEDIUMSquirrel sqcompiler.cpp UnaryOP recursionEPSS 0.2%CVE-2024-12227MEDIUMMSI Dragon Center IOCTL NTIOLib_X64.sys MmUnMapIoSpace null pointer dereferenceEPSS 0.2%CVE-2025-4287MEDIUMPyTorch nccl.py torch.cuda.nccl.reduce denial of serviceEPSS 0.2%CVE-2026-3387MEDIUMwren-lang wren wren_compiler.c getByteCountForArguments null pointer dereferenceEPSS 0.2%CVE-2025-15571MEDIUMckolivas lrzip stream.c ucompthread null pointer dereferenceEPSS 0.2%CVE-2026-3389MEDIUMSquirrel sqstdrex.cpp sqstd_rex_newnode null pointer dereferenceEPSS 0.2%CVE-2026-90828MEDIUMGNU Binutils ELF Orphan Section ldelf.c elf_orphan_compatible null pointer dereferenceEPSS 0.2%CVE-2025-15572MEDIUMwasm3 NewCodePage memory leakEPSS 0.2%CVE-2026-3383MEDIUMChaiScript boxed_number.hpp go divide by zeroEPSS 0.2%CVE-2026-3384MEDIUMChaiScript chaiscript_eval.hpp Function_Push_Pop recursionEPSS 0.2%CVE-2026-90802MEDIUMGNU Binutils ld libbfd.c bfd_putl64 null pointer dereferenceEPSS 0.2%CVE-2026-1415MEDIUMGPAC media_export.c gf_media_export_webvtt_metadata null pointer dereferenceEPSS 0.2%CVE-2026-91782MEDIUMGNU Binutils Dynamic Relocation Allocation elfxx-x86.c elf_x86_allocate_dynrelocs null pointer dereferenceEPSS 0.2%CVE-2026-91781MEDIUMGNU Binutils ELF Section elf64-x86-64.c elf_x86_64_common_section_index null pointer dereferenceEPSS 0.2%CVE-2026-2641MEDIUMuniversal-ctags V Language v.c parseExprList recursionEPSS 0.2%CVE-2026-2642MEDIUMggreer the_silver_searcher search.c search_stream null pointer dereferenceEPSS 0.2%CVE-2026-90829MEDIUMGNU Binutils SHT_GROUP Section elf.c bfd_elf_set_group_contents null pointer dereferenceEPSS 0.2%