Fallos del tipo CWE-835

534 resultados

Loop infinito com condição de saída inalcançável

A aplicação entra em um loop (iteração) cuja condição de parada nunca é verdadeira ou nunca é checada, trancando a execução indefinidamente. Isso causa travamento, consumo excessivo de CPU, negação de serviço ou congelamento de funcionalidades críticas.

Ejemplo

Um servidor web com while(true) lendo dados de rede, mas a condição de encerramento da conexão nunca é avaliada corretamente; ou um aplicativo mobile em loop aguardando uma resposta de API que nunca chega, sem timeout definido.

Cómo mitigar

Sempre defina condições de saída claras e alcançáveis (break, return, exceção); implemente timeouts em operações de I/O e loops que dependem de eventos externos; use ferramentas de análise estática para detectar loops sem saída óbvia; considere usar watchdogs ou sinais de interrupção como fallback.

CVE-2026-6522MEDIUMLoop with Unreachable Exit Condition ('Infinite Loop') in WiresharkEPSS 0.1%CVE-2025-11626MEDIUMLoop with Unreachable Exit Condition ('Infinite Loop') in WiresharkEPSS 0.1%CVE-2026-112046MEDIUMOW2 ASM 9.11 before 9.11.1 Denial of Service via Infinite Loop in Label.resolve()EPSS 0.1%CVE-2026-118781LOWForge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input (incomplete fix of CVE-2026-33891)EPSS 0.1%CVE-2026-56289MEDIUMLoop with Unreachable Exit Condition in GNU patchEPSS 0.1%CVE-2026-107168MEDIUMM17n-lib: parser infinite loop on malformed utf-8 in count_utf_8_chars()EPSS 0.1%CVE-2026-46521MEDIUMImageMagick: Heap Buffer Over-Write in MIFF encoder when using LZMA compressionEPSS 0.1%CVE-2026-116671LOWInfinite loop in Xpdf due to missing validation in JPEG 2000 decoderEPSS 0.1%CVE-2026-48733MEDIUMImageMagick: Infinite Loop in subimage-search with crafted imageEPSS 0.1%CVE-2023-20997MEDIUMIn multiple locations, there is a possible way to trigger a persistent reboot loop due to improper input validation. This could lead to locaEPSS 0.1%CVE-2023-20998MEDIUMIn multiple locations, there is a possible way to trigger a persistent reboot loop due to improper input validation. This could lead to locaEPSS 0.1%CVE-2023-20999MEDIUMIn multiple locations, there is a possible way to trigger a persistent reboot loop due to improper input validation. This could lead to locaEPSS 0.1%CVE-2023-20996MEDIUMIn multiple locations, there is a possible way to trigger a persistent reboot loop due to improper input validation. This could lead to locaEPSS 0.1%CVE-2026-55595MEDIUMImageMagick: Infinite Loop in connected-components when providing invalid argumentsEPSS 0.1%