Weaknesses of type CWE-772

139 results

Vazamento de recurso após fim de sua vida útil

Ocorre quando um programa aloca um recurso (memória, arquivo, conexão de banco de dados, socket) mas não o libera quando termina de usá-lo. O recurso fica ocupado indefinidamente, consumindo memória ou esgotando limites do sistema, levando a degradação de performance ou indisponibilidade da aplicação.

Example

Uma função abre uma conexão com banco de dados para buscar dados, mas nunca fecha a conexão após usar. Em uma aplicação web com múltiplas requisições, isso drena o pool de conexões até que novas requisições falham com 'too many connections'.

How to mitigate

Use sempre blocos try-finally ou estruturas de gerenciamento automático (como 'with' em Python, 'using' em C#) para garantir que recursos sejam liberados mesmo em caso de exceção. Em código legado, aplique code review focado em recursos não fechados e estabeleça padrões de cleanup obrigatórios.

CVE-2025-64734LOWMissing Release of Resource after Effective Lifetime (CWE-772) in the T21 Reader allows an attacker with physical access to the Reader to peEPSS 0.2%CVE-2026-95108MEDIUMDeleting a user-mode module thread leaks its privileged kernel stackEPSS 0.2%CVE-2026-45287LOWOpenTelemetry-Go's Schema ParseFile leaks file descriptors on each parseEPSS 0.2%CVE-2026-102723HIGHNULL Pointer Dereference on MSRP Attribute Table ExhaustionEPSS 0.2%CVE-2025-0036LOWIn AMD Versal Adaptive SoC devices, the incorrect configuration of the SSS during runtime (post-boot) cryptographic operations could cause dEPSS 0.2%CVE-2026-23185HIGHwifi: iwlwifi: mld: cancel mlo_scan_start_wkEPSS 0.1%CVE-2026-46201HIGHdrm/xe: Fix dma-buf attachment leak in xe_gem_prime_import()EPSS 0.1%CVE-2026-45536MEDIUMNetty: Unix-socket fd receive leaks descriptors when peer sends two at onceEPSS 0.1%CVE-2023-47216LOWLiteos-A has a missing release of resource vulnerabilityEPSS 0.1%CVE-2025-54983MEDIUMHealth check port on ZCC allows tunnel bypassEPSS 0.1%CVE-2026-46178HIGHRDMA/mlx4: Fix resource leak on error in mlx4_ib_create_srq()EPSS 0.1%CVE-2026-104045MEDIUMSssd: sssd: denial of service via race condition in autofs responderEPSS 0.1%CVE-2026-104112MEDIUMMissing release of passed file descriptors in illumos nscd allows local users to exhaust kernel memoryEPSS 0.1%CVE-2026-114236LOWPodman: goroutine/file-descriptor leak in storage/pkg/archive.applylayer and applyuncompressedlayer on malformed layersEPSS 0.1%CVE-2026-19740MEDIUMBluetooth LE Controller: retained RX node leak and reachable assertion in the PHY Update procedureEPSS 0.1%CVE-2026-19739MEDIUMBluetooth LE controller leaks a retained RX node when an unexpected LL Control PDU arrives during a Connection UpdateEPSS 0.1%CVE-2026-97686MEDIUMVxWorks 7 Memory Resource leakEPSS 0.1%CVE-2026-104031MEDIUMSssd: sssd: denial of service via memory exhaustion in autofs responderEPSS 0.1%CVE-2026-104035MEDIUMSssd: sssd: denial of service via memory exhaustion in kcm responderEPSS 0.1%