Fallos del tipo CWE-674

458 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-2026-39396LOWOpenBao has Decompression Bomb via Unbounded Copy in OCI Plugin Extraction (DoS)EPSS 0.2%CVE-2024-7866LOWStack overflow in Xpdf 4.05 due to object loop in PDF patternEPSS 0.2%CVE-2026-40989MEDIUMSelf Routing guard bypassed via function compositionEPSS 0.2%CVE-2026-30980MEDIUMiccDEV has a stack overflow in CIccBasicStructFactory::CreateStruct()EPSS 0.2%CVE-2026-2887MEDIUMaardappel lobster idents.h TypeName recursionEPSS 0.2%CVE-2026-38752LOWA stack overflow in the evaluate() function (editors/awk.c) of BusyBox commit 371fe9 allows attackers to cause a Denial of Service (DoS) viaEPSS 0.2%CVE-2026-38755LOWA heap overflow in the evalcommand() function (shell/ash.c) of Busybox v1.38.0 allows attackers to cause a Denial of Service (DoS) via supplEPSS 0.2%CVE-2021-29615LOWStack overflow in `ParseAttrValue` with nested tensorsEPSS 0.2%CVE-2024-54731MEDIUMcpdf through 2.8 allows stack consumption via a crafted PDF document.EPSS 0.2%CVE-2025-50537MEDIUMStack overflow vulnerability in eslint before 9.26.0 when serializing objects with circular references in eslint/lib/shared/serialization.jsEPSS 0.2%CVE-2026-119371MEDIUMSQLite before 3.54.0 Stack Exhaustion via CTE Chain in selectExpander()EPSS 0.2%CVE-2026-3385MEDIUMwren-lang wren wren_compiler.c resolveLocal recursionEPSS 0.2%CVE-2026-3388MEDIUMSquirrel sqcompiler.cpp UnaryOP recursionEPSS 0.2%CVE-2025-68950MEDIUMMagick's failure to limit MVG mutual references forming a loopEPSS 0.2%CVE-2026-3384MEDIUMChaiScript chaiscript_eval.hpp Function_Push_Pop recursionEPSS 0.2%CVE-2026-119376MEDIUMSQLite before 3.54.0 Stack Exhaustion via COLLATE Operator ChainEPSS 0.2%CVE-2026-27014MEDIUMNanZip has ROMFS Archive Infinite Loop / Stack OverflowEPSS 0.2%CVE-2026-75758MEDIUMUnbounded recursion between Inspect.List charlist rendering and List.to_string/1 error path in ElixirEPSS 0.2%CVE-2026-44028HIGHAn issue was discovered in Nix before 2.34.7 and Lix before 2.95.2. Unbounded recursion in the NAR (Nix Archive) parser could lead to a stacEPSS 0.2%CVE-2026-78228MEDIUMUnbounded handle_error recursion enables denial of service in AshOban triggersEPSS 0.2%