Falhas do tipo CWE-606

38 resultados

Entrada não validada em condição de loop

Ocorre quando um loop usa dados de entrada do usuário diretamente em sua condição (como número de iterações ou limite) sem validação prévia. Um atacante pode fornecer valores malformados, negativos ou extremamente grandes que causam loops infinitos, consumo excessivo de CPU/memória, ou comportamento inesperado do programa.

Exemplo

Um sistema web recebe um parâmetro 'quantidade' do usuário e o usa direto em um loop: `for(int i = 0; i < quantidade; i++)` sem verificar se 'quantidade' é positivo e razoável. Um atacante envia quantidade = 999999999, travando a aplicação.

Como mitigar

Sempre validar e sanitizar entradas de usuário antes de usá-las em condições de loop: verificar se o valor está dentro de um intervalo esperado, é positivo e menor que um limite máximo definido pela lógica da aplicação. Implementar timeouts e limites de iteração como camada de defesa adicional.

CVE-2025-32399MEDIUMAn Unchecked Input for Loop Condition in RT-Labs P-Net version 1.0.1 or earlier allows an attacker to cause IO devices that use the library EPSS 0.5%CVE-2026-11972HIGHtarfile opened in streaming mode mishandles EOFEPSS 0.4%CVE-2026-68077Apache Qpid Broker-J: Unbounded disposition range handling can lead to denial of serviceEPSS 0.4%CVE-2025-43801MEDIUMUnchecked input for loop condition vulnerability in XML-RPC in Liferay Portal 7.4.0 through 7.4.3.111, and older unsupported versions, and LEPSS 0.4%CVE-2026-27689HIGHDenial of service (DOS) in SAP Supply Chain ManagementEPSS 0.4%CVE-2024-13931HIGHAuthenticated Relative Path TraversalEPSS 0.4%CVE-2026-23689HIGHDenial of service (DOS) in SAP Supply Chain ManagementEPSS 0.4%CVE-2026-20301HIGHCisco IOS Software and IOS XE Software Extensible Messaging Client Protocol Denial of Service VulnerabilityEPSS 0.3%CVE-2026-55731MEDIUMLoytec LINX firmware: Unchecked input for loop condition in the SNMP agentEPSS 0.3%CVE-2024-13930MEDIUMAuthenticated Unchecked Loop ConditionEPSS 0.3%CVE-2025-42930MEDIUMDenial of Service (DoS) vulnerability in SAP Business Planning and ConsolidationEPSS 0.3%CVE-2026-66276Apache Qpid Proton-J: Unbounded disposition range handling can lead to denial of serviceEPSS 0.3%CVE-2026-67554MEDIUMApache Qpid Proton Dotnet: Unbounded disposition range handling can lead to denial of serviceEPSS 0.3%CVE-2019-25624MEDIUMLiquid Studio 2.17 Denial of Service via Malformed InputEPSS 0.2%CVE-2026-0243MEDIUMPrisma SD-WAN: Denial of Service (DoS) Vulnerability Through IPv6 Crafted PacketEPSS 0.2%CVE-2026-33800HIGHJunos OS: MX Series: In a VC scenario a high rate of micro-BFD session flaps will cause an FPC crashEPSS 0.2%CVE-2026-15172MEDIUMUnchecked Input for Loop Condition in WiresharkEPSS 0.1%CVE-2026-41986LOWLogic bypass vulnerability in the file system. Impact: Successful exploitation of this vulnerability may affect availability.EPSS 0.1%