Falhas do tipo CWE-674

347 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-46373HIGHSQLFluff: Recursive Stack Overflow in ParserEPSS 0.3%CVE-2026-22591HIGHFast DDS DDSSQLFilter Recursive Parser Stack Exhaustion (Remote DoS)EPSS 0.3%CVE-2026-16192HIGHIBM WebSphere Application Server Liberty is affected by a denial of serviceEPSS 0.3%CVE-2026-46714MEDIUMMisskey: Denial of Service via Uncontrolled Recursion in Theme CompilationEPSS 0.3%CVE-2026-45740MEDIUMprotobufjs: Denial of Service via unbounded recursive JSON descriptor expansionEPSS 0.3%CVE-2025-71393MEDIUMSurrealDB before 2.2.2 Memory Exhaustion via Nested FunctionsEPSS 0.3%CVE-2025-4565HIGHUnbounded recursion in Python ProtobufEPSS 0.3%CVE-2026-66920HIGHPivotick - Stack Exhaustion Denial of Service via Deep or Cyclic Graph DataEPSS 0.3%CVE-2026-88763MEDIUMSkupper-router: skupper-router: unbounded recursion in amqp field parser leads to denial of serviceEPSS 0.3%CVE-2026-63144MEDIUMUncontrolled Recursion in Elasticsearch Leading to Denial of ServiceEPSS 0.2%CVE-2026-6936MEDIUMIBM i is Affected by a Denial of Service Vulnerability []EPSS 0.2%CVE-2026-54888MEDIUMUncontrolled recursion over deeply nested Markdown crashes the BEAM in mdexEPSS 0.2%CVE-2020-36691MEDIUMAn issue was discovered in the Linux kernel before 5.8. lib/nlattr.c allows attackers to cause a denial of service (unbounded recursion) viaEPSS 0.2%CVE-2026-16440MEDIUMIn Eclipse OpenJ9 versions up to 0.60, a crafted .class file with deeply nested annotations causes a segmentation fault.EPSS 0.2%CVE-2026-33947MEDIUMjq: Unbounded Recursion in jv_setpath(), jv_getpath() and delpaths_sorted()EPSS 0.2%CVE-2026-34536MEDIUMiccDEV: SO in SIccCalcOp::ArgsUsed()EPSS 0.2%CVE-2024-25112MEDIUMDenial of service due to unbounded recursion in QuickTimeVideo::multipleEntriesDecoder in Exiv2EPSS 0.2%CVE-2024-4568LOWStack overflow in Xpdf 4.05 due to object loop in PDF resourcesEPSS 0.2%CVE-2025-10728CRITICALUncontrolled recursion in Qt SVG moduleEPSS 0.2%CVE-2026-39396LOWOpenBao has Decompression Bomb via Unbounded Copy in OCI Plugin Extraction (DoS)EPSS 0.2%