Falhas do tipo CWE-674

458 resultados

Recursão descontrolada

Acontece quando uma função chama a si mesma (ou é chamada indiretamente por outra) sem limite adequado de profundidade, consumindo toda a memória da pilha (stack overflow). O atacante pode fornecer entrada malformada ou estruturas aninhadas excessivas para disparar recursões infinitas e derrubar a aplicação.

Exemplo

Um parser XML ou JSON que processa estruturas aninhadas recursivamente: se o atacante envia um documento com milhares de níveis de aninhamento, cada chamada recursiva consome espaço da pilha até esgotar e derrubar o processo. Outro caso: função que processa árvores sem verificar profundidade máxima.

Como mitigar

Implemente limite explícito de profundidade (máximo de níveis de recursão) e valide entrada antes de processar. Use iteração (loop) em vez de recursão quando possível, ou monitore o consumo de pilha em tempo de execução com alertas de limite.

CVE-2026-5406MEDIUMUncontrolled Recursion in WiresharkEPSS 0.2%CVE-2026-120689MEDIUMUncontrolled Recursion in HDF5 H5B__iterate_helper() via Crafted FileEPSS 0.2%CVE-2022-50407MEDIUMcrypto: hisilicon/qm - increase the memory of local variablesEPSS 0.2%CVE-2026-2641MEDIUMuniversal-ctags V Language v.c parseExprList recursionEPSS 0.2%CVE-2026-119591MEDIUMSQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES ClauseEPSS 0.2%CVE-2025-11896LOWStack overflow in Xpdf 4.05 due to object loop in PDF CMapEPSS 0.2%CVE-2026-110263MEDIUMOW2 ASM 3.0 before 9.11 Uncontrolled Recursion in SignatureReaderEPSS 0.2%CVE-2026-110259MEDIUMOW2 ASM 3.0 before 9.11 Uncontrolled Recursion via ClassWriter.replaceAsmInstructions()EPSS 0.2%CVE-2025-55095MEDIUMThe function _ux_host_class_storage_media_mount() is responsible for mounting partitions on a USB mass storage device. When it encounters anEPSS 0.2%CVE-2026-16781MEDIUMSVG File Parsing Stack Exhaustion Vulnerability in Autodesk 3ds MaxEPSS 0.2%CVE-2026-14255MEDIUMIFC File Parsing Uncontrolled Recursion in Certain Autodesk ProductsEPSS 0.2%CVE-2023-53428MEDIUMpowercap: arm_scmi: Remove recursion while parsing zonesEPSS 0.2%CVE-2026-101180MEDIUMDoS vulnerability in the file parsing module. Impact: Successful exploitation of this vulnerability may affect availability.EPSS 0.2%CVE-2026-44777MEDIUMjq: stack overflow in module loading on mutual `include`EPSS 0.2%CVE-2026-40612MEDIUMjq: Stack overflow via unbounded recursion in jv_containsEPSS 0.2%CVE-2025-9714MEDIUMStack overflow in libxml2EPSS 0.2%CVE-2026-7453MEDIUMWRL File Parsing Memory Exhaustion in Autodesk 3ds MaxEPSS 0.2%CVE-2026-43896MEDIUMjq: Stack Overflow in Recursive Object MergeEPSS 0.2%CVE-2026-13757MEDIUMP11-kit: stack exhaustion via unbounded recursion in rpc attribute parsingEPSS 0.2%CVE-2026-82797MEDIUMUncontrolled Recursion vulnerability in Samsung Open Source rlottie allows Serialized Data with Nested Payloads. This issue affects rlottieEPSS 0.1%