Fallos del tipo CWE-835

424 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-41150MEDIUMMermaid Gantt Charts are vulnerable to an Infinite Loop DoSEPSS 0.4%CVE-2026-85730HIGHsmol-toml: Denial of Service via malformed TOML documentsEPSS 0.4%CVE-2025-27497HIGHOpenDJ Denial of Service (Dos) using alias loopEPSS 0.4%CVE-2026-59933HIGHPhpSpreadsheet: XLS/OLE sector-chain self-loop causes memory exhaustionEPSS 0.4%CVE-2026-13401HIGHXML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributesEPSS 0.4%CVE-2026-8318MEDIUMVectifyAI PageIndex PDF Table of Contents page_index.py toc_transformer infinite loopEPSS 0.4%CVE-2025-29776HIGHAzle calling `setTimer` causes infinite loop of timersEPSS 0.4%CVE-2025-0290MEDIUMLoop with Unreachable Exit Condition ('Infinite Loop') in GitLabEPSS 0.4%CVE-2021-20257—An infinite loop flaw was found in the e1000 NIC emulator of the QEMU. This issue occurs while processing transmits (tx) descriptors in procEPSS 0.4%CVE-2024-6614MEDIUMIncorrect listing of stack framesEPSS 0.4%CVE-2025-55118HIGHBMC Control-M/Agent memory corruption in SSL/TLS communicationEPSS 0.4%CVE-2026-32256HIGHmusic-metadata has an infinite loop vulnerability in ASF parserEPSS 0.4%CVE-2026-59877MEDIUMprotobufjs: Denial of Service via infinite loop in .proto option parsingEPSS 0.4%CVE-2025-66252HIGHInfinite Loop Denial of Service via Failed File DeletionEPSS 0.4%CVE-2024-58261LOWThe sequoia-openpgp crate 1.13.0 before 1.21.0 for Rust allows an infinite loop of "Reading a cert: Invalid operation: Not a Key packet" mesEPSS 0.4%CVE-2026-7263MEDIUMDoS attack via DOMNode::C14N()EPSS 0.4%CVE-2023-36464MEDIUMInfinite Loop when a comment isn't followed by a character in pypdfEPSS 0.4%CVE-2024-6061MEDIUMGPAC MP4Box isoffin_read.c isoffin_process infinite loopEPSS 0.4%CVE-2026-39934MEDIUMGrowth Experiments ReassignMenteesJob runs as an infinite loopEPSS 0.3%CVE-2026-19484HIGH@fastify/busboy vulnerable to Denial of Service via oversized multipart boundaryEPSS 0.3%