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-2022-49566MEDIUMcrypto: qat - fix memory leak in RSAEPSS 0.3%CVE-2022-49144MEDIUMio_uring: fix memory leak of uid in files registrationEPSS 0.3%CVE-2024-56715HIGHionic: Fix netdev notifier unregister on failureEPSS 0.3%CVE-2026-54876HIGHClient-Side Memory Leak in OCSP Response CheckingEPSS 0.3%CVE-2022-49502MEDIUMmedia: rga: fix possible memory leak in rga_probeEPSS 0.3%CVE-2022-49153MEDIUMwireguard: socket: free skb in send6 when ipv6 is disabledEPSS 0.3%CVE-2022-49148MEDIUMwatch_queue: Free the page array when watch_queue is dismantledEPSS 0.3%CVE-2024-50236MEDIUMwifi: ath10k: Fix memory leak in management txEPSS 0.3%CVE-2022-49210MEDIUMMIPS: pgalloc: fix memory leak caused by pgd_free()EPSS 0.3%CVE-2022-49284MEDIUMcoresight: syscfg: Fix memleak on registration failure in cscfg_create_deviceEPSS 0.3%CVE-2021-47654MEDIUMsamples/landlock: Fix path_list memory leakEPSS 0.3%CVE-2025-50949MEDIUMFontForge v20230101 was discovered to contain a memory leak via the component DlgCreate8.EPSS 0.3%CVE-2026-56368MEDIUMImageMagick - Memory Leak in Raw Pixel Data CodersEPSS 0.3%CVE-2025-50951MEDIUMFontForge v20230101 was discovered to contain a memory leak via the utf7toutf8_copy function at /fontforge/sfd.c.EPSS 0.3%CVE-2023-51258MEDIUMA memory leak issue discovered in YASM v.1.3.0 allows a local attacker to cause a denial of service via the new_Token function in the moduleEPSS 0.3%CVE-2022-49369MEDIUMamt: fix possible memory leak in amt_rcv()EPSS 0.3%CVE-2022-49334MEDIUMmm/huge_memory: Fix xarray node memory leakEPSS 0.3%CVE-2022-49461MEDIUMamt: fix memory leak for advertisement messageEPSS 0.3%CVE-2022-49408MEDIUMext4: fix memory leak in parse_apply_sb_mount_options()EPSS 0.3%CVE-2022-49403MEDIUMlib/string_helpers: fix not adding strarray to device's resource listEPSS 0.3%