Weaknesses of type CWE-835

534 results

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

O programa entra em um loop (for, while, etc.) cuja condição de encerramento nunca pode ser verdadeira, causando uma execução infinita. Isso consome CPU indefinidamente, podendo derrubar a aplicação ou os serviços que dependem dela, caracterizando uma negação de serviço.

Example

Um servidor web processa requisições em um loop while(true) esperando receber um sinal de parada que nunca é enviado; ou um algoritmo incrementa uma variável de controle, mas a condição de saída compara com um valor que nunca será alcançado devido a overflow ou lógica errada.

How to mitigate

Revise toda lógica de condição de saída (teste se ela é realmente alcançável); implemente timeouts explícitos nos loops; adicione contadores de limite de iterações para forçar saída de segurança; use análise estática para detectar loops sem saída clara.

CVE-2026-89045MEDIUMzstd-jni 1.4.8-4 through 1.5.7-13 Denial of Service via Negative LengthEPSS 0.2%CVE-2026-42781HIGHBIG-IP FastL4 virtual server vulnerabilityEPSS 0.2%CVE-2026-33969—In the NAS Authentication Request message decoding procedure, a missing lower bound check causes an infinite loop, leading to Denial of ServEPSS 0.2%CVE-2026-54530MEDIUMpypdf: Possible infinite loop when retrieving fonts for layout-mode text extractionEPSS 0.2%CVE-2026-54531MEDIUMpypdf: Possible infinite loop when processing outlines/bookmarks in writerEPSS 0.2%CVE-2021-37686MEDIUMInfinite loop in TensorFlow LiteEPSS 0.2%CVE-2026-6519MEDIUMLoop with Unreachable Exit Condition ('Infinite Loop') in WiresharkEPSS 0.2%CVE-2026-42310MEDIUMPillow: PDF Parsing Trailer Infinite Loop (DoS)EPSS 0.2%CVE-2026-6520MEDIUMLoop with Unreachable Exit Condition ('Infinite Loop') in WiresharkEPSS 0.2%CVE-2026-123785MEDIUMFluxbox through 1.3.7 Infinite Loop via Menu::updateMenu() Style GeometryEPSS 0.2%CVE-2026-62250MEDIUMLibreDWG: unbounded allocation in pre-R13 DWG entity decodingEPSS 0.2%CVE-2026-120458MEDIUMKvazaar through 2.3.2 Infinite Loop DoS via Y4M Header ParserEPSS 0.2%CVE-2026-81885MEDIUMradare2: Infinite relocation-chain loop causes denial of service in radare2 NE parserEPSS 0.2%CVE-2022-20476MEDIUMIn setEnabledSetting of PackageManager.java, there is a possible way to get the device into an infinite reboot loop due to resource exhaustiEPSS 0.2%CVE-2026-46378MEDIUMDasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literalEPSS 0.2%CVE-2026-12236MEDIUMInfinite loop (DoS) in Bluetooth GATT client parsing of Read-By-Type responses with zero data lengthEPSS 0.2%CVE-2025-13946MEDIUMLoop with Unreachable Exit Condition ('Infinite Loop') in WiresharkEPSS 0.2%CVE-2026-54651MEDIUMpypdf: Possible infinite loop when processing threads/articles in writerEPSS 0.2%CVE-2026-55373MEDIUMOpenEXR: OpenEXRUtil SampleCountChannel endEdit() can loop forever on UINT_MAX sample countsEPSS 0.2%CVE-2026-34852MEDIUMStack overflow vulnerability in the media platform. Impact: Successful exploitation of this vulnerability may affect availability.EPSS 0.2%