Weaknesses of type CWE-835

426 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-67214HIGHnanoid Infinite Loop via Negative Size in non-secure moduleEPSS 0.3%CVE-2023-43511HIGHLoop with Unreachable Exit Condition (Infinite Loop) in WLAN FirmwareEPSS 0.3%CVE-2022-4104MEDIUMA loop with an unreachable exit condition can be triggered by passing a crafted JPEG file to the Lepton image compression tool, resulting inEPSS 0.3%CVE-2024-42358MEDIUMLoop with Unreachable Exit Condition ('Infinite Loop') in pdfioEPSS 0.3%CVE-2026-0619MEDIUMInteger Wraparound DoS in Silicon Labs Matter ImplementationEPSS 0.3%CVE-2024-40675HIGHIn parseUriInternal of Intent.java, there is a possible infinite loop due to improper input validation. This could lead to local denial of sEPSS 0.3%CVE-2025-63829MEDIUMeProsima Fast-DDS v3.3 and before has an infinite loop vulnerability caused by integer overflow in the Time_t:: fraction() function.EPSS 0.3%CVE-2026-78132HIGHstrongSwan 5.1.3 through 6.0.7 has an infinite loop in the x509 plugin's attribute certificate parser for ietfAttrSyntax.EPSS 0.3%CVE-2025-41075MEDIUMMultiple vulnerabilities in LimesurveyEPSS 0.3%CVE-2025-41074MEDIUMMultiple vulnerabilities in LimesurveyEPSS 0.3%CVE-2026-6684MEDIUMFatFs Infinite Loop in GPT Partition ScanEPSS 0.3%CVE-2026-24803CRITICALA possible infinite loop vulnerability in coolsnowwolf/ledeEPSS 0.3%CVE-2020-13602MEDIUMRemote Denial of Service in LwM2M do_write_op_tlvEPSS 0.3%CVE-2026-24831HIGHInfinite loop (DoS) in ixray-1.6-stcopEPSS 0.3%CVE-2024-2397MEDIUMinfinite loop in the PPP printer of tcpdumpEPSS 0.3%CVE-2025-30187LOWDenial of service via crafted DoH exchange in PowerDNS DNSdistEPSS 0.3%CVE-2026-24816CRITICALCookie Security Vulnerabilities in datavane/tisEPSS 0.3%CVE-2026-24804CRITICALA infinite loop vulnerability in coolsnowwolf/ledeEPSS 0.3%CVE-2023-30300MEDIUMAn issue in the component hang.wasm of WebAssembly 1.0 causes an infinite loop.EPSS 0.3%CVE-2026-7375MEDIUMLoop with Unreachable Exit Condition ('Infinite Loop') in WiresharkEPSS 0.3%