Weaknesses of type CWE-835

532 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-2025-23221MEDIUMFedify has an Infinite loop and Blind SSRF found inside the Webfinger mechanismEPSS 0.6%CVE-2026-19484HIGH@fastify/busboy vulnerable to Denial of Service via oversized multipart boundaryEPSS 0.6%CVE-2026-46385HIGHiskorotkov/avro: CPU Exhaustion in Avro DecoderEPSS 0.6%CVE-2026-68523HIGHFulgur: Unbounded page slicing from attacker-controlled CSS height causes denial of serviceEPSS 0.6%CVE-2026-13397HIGHHTML::Bare versions through 0.04 for Perl will hang in an infinite loop when parsing malformed attributesEPSS 0.6%CVE-2026-68537HIGHFulgur: Unbounded page slicing from attacker-controlled CSS height causes denial of serviceEPSS 0.6%CVE-2026-13401HIGHXML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributesEPSS 0.6%CVE-2026-85715HIGHExifReader: DoS via Crafted HEIC/AVIF iloc Box - Memory ExhaustionEPSS 0.6%CVE-2026-33891HIGHForge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero InputEPSS 0.6%CVE-2026-115269HIGHHTTP/2 WINDOW_UPDATE and SETTINGS frames reset the request body read timeout in BanditEPSS 0.6%CVE-2025-64438LOWFast-DDS: Unbounded GAP range triggers OOM DoS under RELIABLE QoSEPSS 0.6%CVE-2026-112390HIGHPillow: Infinite loop in MIC n_frames when the embedded TIFFEPSS 0.6%CVE-2026-88000MEDIUMOpen WebUI: Any authenticated user can hang the server via message deletion in a cyclic chat treeEPSS 0.6%CVE-2025-1695MEDIUMNGINX Unit Java VulnerabilityEPSS 0.6%CVE-2026-88002MEDIUMOpen WebUI: Any authenticated user can hang the server via a cyclic chat message historyEPSS 0.6%CVE-2026-44186HIGHApache HTTP Server: Loop in `proxy_ftp_handler` in mod_proxy_ftpEPSS 0.6%CVE-2026-112391MEDIUMPillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()EPSS 0.6%CVE-2026-71436MEDIUMMermaid XY Charts are vulnerable to an infinite loop DoSEPSS 0.6%CVE-2024-5949MEDIUMDeep Sea Electronics DSE855 Multipart Boundary Infinite Loop Denial-of-Service VulnerabilityEPSS 0.6%CVE-2026-82605MEDIUMBareBones BBEdit Lasso Language Tokenizer infinite loopEPSS 0.6%