Fallos del tipo CWE-674

348 resultados

Recursão não controlada

Ocorre quando uma função chama a si mesma ou a outras funções de forma cíclica sem um limite adequado de profundidade, esgotando a pilha de execução (stack overflow). O risco é causar negação de serviço ou crash da aplicação, frequentemente disparado por entrada maliciosa ou dados estruturados recursivamente.

Ejemplo

Um parser XML ou JSON que não valida a profundidade de aninhamento pode sofrer recursão infinita ao processar um documento atacante com centenas de níveis aninhados, consumindo toda a memória de pilha e derrubando o serviço.

Cómo mitigar

Implemente limites de profundidade em algoritmos recursivos (máximo de chamadas aninhadas), use iteração com pilha explícita quando possível, e valide a entrada antes de processar estruturas potencialmente recursivas. Teste com payloads de aninhamento profundo.

CVE-2025-24302MEDIUMUncontrolled recursion for some TinyCBOR libraries maintained by Intel(R) before version 0.6.1 may allow an authenticated user to potentiallEPSS 0.1%CVE-2026-75758MEDIUMUnbounded recursion between Inspect.List charlist rendering and List.to_string/1 error path in ElixirEPSS 0.1%CVE-2026-78228MEDIUMUnbounded handle_error recursion enables denial of service in AshOban triggersEPSS 0.1%CVE-2026-6527MEDIUMUncontrolled Recursion in WiresharkEPSS 0.1%CVE-2026-5299MEDIUMUncontrolled Recursion in WiresharkEPSS 0.1%CVE-2026-5401MEDIUMUncontrolled Recursion in WiresharkEPSS 0.1%CVE-2018-25282MEDIUMNmap 7.70 Denial of Service via XML Entity ExpansionEPSS 0.1%CVE-2026-42328MEDIUMgo-ipld-prime: DAG-CBOR and DAG-JSON decoders unbounded recursion depthEPSS 0.1%CVE-2026-46557MEDIUMImageMagick: Stack overflow in fx operationEPSS 0.1%CVE-2026-4833MEDIUMOrc discount Markdown markdown.c compile recursionEPSS 0.1%CVE-2026-6862MEDIUMEfivar: efivar: denial of service due to stack overflow in device path node parsingEPSS 0.1%CVE-2025-20025MEDIUMUncontrolled recursion for some TinyCBOR libraries maintained by Intel(R) before version 0.6.1 may allow an authenticated user to potentiallEPSS 0.1%CVE-2026-8936HIGHUnbounded recursion in grpcfuse kernel module allows container to crash Docker Desktop VMEPSS 0.1%CVE-2026-14255MEDIUMIFC File Parsing Uncontrolled Recursion in Certain Autodesk ProductsEPSS 0.1%CVE-2026-16781MEDIUMSVG File Parsing Stack Exhaustion Vulnerability in Autodesk 3ds MaxEPSS 0.1%CVE-2025-7010MEDIUMAvast antivirus stack overflow when scanning a malformed PDF fileEPSS 0.1%CVE-2025-36158MEDIUMIBM Concert Information DisclosureEPSS 0.1%CVE-2026-42445LOWNanaZip: Uncontrolled recursion in NanaZip UFS directory traversal causes stack exhaustionEPSS 0.1%CVE-2025-7005MEDIUMAvast antivirus infinite recursion when scanning a malformed PE fileEPSS 0.1%CVE-2026-42355LOWNanaZip: Uncontrolled recursion in NanaZip Electron ASAR parser causes stack exhaustionEPSS 0.1%