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-2023-20251MEDIUMA vulnerability in the memory buffer of Cisco Wireless LAN Controller (WLC) AireOS Software could allow an unauthenticated, adjacent attackeEPSS 0.2%CVE-2024-56747LOWscsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()EPSS 0.2%CVE-2024-56748LOWscsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()EPSS 0.2%CVE-2025-8225MEDIUMGNU Binutils DWARF Section dwarf.c process_debug_info memory leakEPSS 0.2%CVE-2024-56643LOWdccp: Fix memory leak in dccp_feat_change_recvEPSS 0.2%CVE-2024-39536MEDIUMJunos OS and Junos OS Evolved: Flaps of BFD sessions with authentication cause a ppmd memory leakEPSS 0.2%CVE-2024-53076HIGHiio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table()EPSS 0.2%CVE-2025-5324MEDIUMTechPowerUp GPU-Z 0x8000645C IOCTL GPU-Z.sys sub_140001880 memory leakEPSS 0.2%CVE-2025-21683MEDIUMbpf: Fix bpf_sk_select_reuseport() memory leakEPSS 0.2%CVE-2023-53002MEDIUMdrm/i915: Fix a memory leak with reused mmap_offsetEPSS 0.2%CVE-2024-57841MEDIUMnet: fix memory leak in tcp_conn_request()EPSS 0.2%CVE-2024-39490MEDIUMipv6: sr: fix missing sk_buff release in seg6_input_coreEPSS 0.2%CVE-2022-49233MEDIUMdrm/amd/display: Call dc_stream_release for remove link enc assignmentEPSS 0.2%CVE-2024-53215MEDIUMsvcrdma: fix miss destroy percpu_counter in svc_rdma_proc_init()EPSS 0.2%CVE-2026-61868MEDIUMImageMagick before 7.1.2-26 Memory Leak in YUV DecoderEPSS 0.2%CVE-2024-53210MEDIUMs390/iucv: MSG_PEEK causes memory leak in iucv_sock_destruct()EPSS 0.2%CVE-2022-49550MEDIUMfs/ntfs3: provide block_invalidate_folio to fix memory leakEPSS 0.2%CVE-2022-49225MEDIUMmt76: mt7921s: fix a possible memory leak in mt7921_load_patchEPSS 0.2%CVE-2024-50168MEDIUMnet/sun3_82586: fix potential memory leak in sun3_82586_send_packet()EPSS 0.2%CVE-2024-50231MEDIUMiio: gts-helper: Fix memory leaks in iio_gts_build_avail_scale_table()EPSS 0.2%